File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 41523
    
  53
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which values can get <servlet-name> element?