Comment utiliser les annotations au lieu de web.xml dans la servlet pour spécifier l'url

Comment fournir une annotation pour la cartographie web.XML dans l'annotation. Je l'ai fait avec web.XML. J'
voulez essayer avec l'Annotation de la cartographie, comme suit:

<web-app> 
  <servlet-mapping> 
  </servlet-mapping> 
</web-app>
InformationsquelleAutor Sheel | 2013-06-21