• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml

 
santhosh.R gowda
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
im new to servlets and in my web.xml file they ahd written as the above code please tell me why they had written like that ....
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you put more web.xml?
 
santhosh.R gowda
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which web.xml you are seeing ?
I guess you are using tomcat & seeing tomcat's web.xml.
while developing application we don't need to care about tomcat's web.xml.we will write our own web.xml.
 
Vijitha Kumara
Bartender
Pie
Posts: 3918
10
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, web.xml is something used to tell the web container about your web application's components and how those should be configured (how the servlets are packaged, which listeners are there and lot more). You may refer the Servlet Faq and there you 'll find Tomcat specific faq as well.
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

May be this will help you to understand web.xml configuration.

http://nishanpatel.wordpress.com/2009/04/30/deploymentdescriptor/



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic