S
shaunak.adgaonkar
This is my directory structure C:\Program Files\Apache Software
Foundation\Tomcat 4.1\webapps\VSG\WEB-INF and here i have in web-inf
my web.xml which looks like this
<web-app>
<servlet servlet-name>Myservlet</servlet-name>
<servlet-class>Myservlet<servlet-class>
</servlet>
<servlet-mapping >
<servlet-name>Myservlet</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
</web-app>
while my class file is at this position C:\Program Files\Apache
Software Foundation\Tomcat 4.1\webapps\vsg\WEB-INF\classes
Now i run my servlet in browser as
http://localhost:8080/vsg/myservlet
it gives me error that resource is not available.... any idea on
this ???
Foundation\Tomcat 4.1\webapps\VSG\WEB-INF and here i have in web-inf
my web.xml which looks like this
<web-app>
<servlet servlet-name>Myservlet</servlet-name>
<servlet-class>Myservlet<servlet-class>
</servlet>
<servlet-mapping >
<servlet-name>Myservlet</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
</web-app>
while my class file is at this position C:\Program Files\Apache
Software Foundation\Tomcat 4.1\webapps\vsg\WEB-INF\classes
Now i run my servlet in browser as
http://localhost:8080/vsg/myservlet
it gives me error that resource is not available.... any idea on
this ???