Deploying under tomcat

Deploying under tomcat


1

Class inmcservlet.class is under the package

proto.inmc.fm.servlet.

2

Directory strcture of tomcat depolyment

D:\Program Files\Apache Group\apache-tomcat-6.0.16\apache-tomcat-6.0.16\webapps\inmc\WEB-INF\classes\proto\inmc\fm\servlet

Under servlet
inmcservlet.class

3. The web Xml

Web.xml


xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">

inmcservlet
proto.inmc.fm.servlet.inmcservlet


inmcservlet
/servlet/inmcservlet2




4 . The url string

http://localhost:8080/inmc/servlet/inmcservlet2

Comments

Popular posts from this blog

Long running Java process resource consumption monitoring , leak detection and GC tuning

Best practises - Selenium WebDriver/ Java

CORBA - C++ Client (ACE TAO) Java Server (JacORB) A simple example