This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 88

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

Joined: Mar 22, 2005
Posts: 42958
    
  73
Yes, it is permissible for filter mappings. The servlet specification specifically talks about that case.
Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 88

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?
 
It's not a secret anymore!