Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml

 
priya shankar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of wem.xml file...who needs it..

thanks
shankar
 
adam oczos
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic