aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 42913
    
  68
Yes, it is permissible for filter mappings. The servlet specification specifically talks about that case.
Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

So I understand that ONLY for filter-mapping. OKEY
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which values can get <servlet-name> element?