Meaningless Drivel is fun!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Which values can get <servlet-name> element? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Which values can get <servlet-name> element?" Watch "Which values can get <servlet-name> element?" New topic
Author

Which values can get <servlet-name> element?

Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

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
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
Yes, it is permissible for filter mappings. The servlet specification specifically talks about that case.


Ping & DNS - my free Android networking tools app
Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

So I understand that ONLY for filter-mapping. OKEY
 
 
subject: Which values can get <servlet-name> element?
 
Similar Threads
Filter not called
Odd problem with RichFaces and Servlet Filter
regarding filters and RequestDispather
Dispatcher tag in DD for filter mapping
richfaces and problems with navigation