File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml" Watch "web.xml" New topic
Author

web.xml

priya shankar
Greenhorn

Joined: May 12, 2003
Posts: 16
what is the use of wem.xml file...who needs it..

thanks
shankar
adam oczos
Greenhorn

Joined: May 12, 2003
Posts: 17
if you have only one servlet then... yes it's possible to skip it, but if you want to build a complex application, web.xml is quite necessary.
you can:
a) define your servlets there (name, calsses, location, start-up control);
b) put some JNDI values there;
c) define resources;
d) define security roles;
e) configure sessions.
+ much more
more details at: http://kb.atlassian.com/content/orion/docs/deployment/web.xml.html
and in many other places.
hope that helps a bit.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml