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 Servlets and the fly likes Deployment Descriptor 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 » Java » Servlets
Bookmark "Deployment Descriptor" Watch "Deployment Descriptor" New topic
Author

Deployment Descriptor

Manju KT
Greenhorn

Joined: Jan 16, 2008
Posts: 7
Is is mandatory to map servlet in Deployment Descriptor to have access to that servlet thru web browser?? Cant i access without mapping?

Can i expect answer from anybody for this??
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
It's the only specification-compliant way to deploy servlets. Some containers implement other ways (e.g. Tomcat's invoker servlet), but those generally have drawbacks, and should be avoided.

What is the reason for wanting to do this?
[ January 23, 2008: Message edited by: Ulf Dittmer ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Manju KT",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Manju KT
Greenhorn

Joined: Jan 16, 2008
Posts: 7
Originally posted by Manju KT:
Is it mandatory to map servlet in Deployment Descriptor to have access to that servlet thru web browser?? Cant i access without mapping?

Can i expect answer from anybody for this??
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Manju KT",
It is now very important that you check your private messages and follow the instructions in them.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment Descriptor
 
It's not a secret anymore!