Tuesday, February 1, 2011

How to deploy a servlet in Tomcat?

1- Copy your servlet to \webapps\WEB-INF\classes

2- create a web.xml in \webapps\WEB-INF\ with sample data given below


HelloWorldServlet
HelloWorldServlet



3.Access the page

No comments:

Post a Comment