Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Which values can get <servlet-name> element?  RSS feed

 
Joey Sanchez
Ranch Hand
Posts: 92
Java Linux Netbeans IDE
  • 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: 42972
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: 92
Java Linux Netbeans IDE
  • 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
Boost this thread!