aspose file tools*
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 Java 8 in Action this week in the Java 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
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
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 ]

Ping & DNS - updated with new look and Ping home screen widget
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
 
Similar Threads
Servlet Redirection
Java Beans and Servlet
Diff between ServletContext and servletConfig
Connection Pool Manager's error
is web.xml compulsory