• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which values can get <servlet-name> element?

 
Joey Sanchez
Ranch Hand
Posts: 88
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I though that the only values that <servlet-name> can use were servlet's logical name.
But I saw * as well.

The case I found was under <filter-mapping>

By example:



Is there a difference under <servlet>?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is permissible for filter mappings. The servlet specification specifically talks about that case.
 
Joey Sanchez
Ranch Hand
Posts: 88
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I understand that ONLY for filter-mapping. OKEY
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic