Hi all,
I have a web application(servlets-JDBC) built with JSWDK two years back. At that time 
there is no concept of JSP, or tomcat or web.xml file etc. I created html and servlet 
files. I put servlet files in web-inf. Later i switch to tomcat 3.1. I just use to 
copy my directory structure from JSWDK to webapps directory of tomcat with a 
difference that servlet classes are now in classes sub-folder in web-inf folder. Note 
that i have not used web.xml in tomcat 3.1. Then i define the application in 
server.xml file in conf folder of tomcat 3.1 and every thing works fine for me. 
Recently i set tomcat 4.0.1 successfully ( i have tested example, manager, 
struts-documentation, struts-example web-applications on it. Then i copied my web 
application in webapps folder and defined it in server.xml. But when i requesting the 
home page of my application (a servlet) in the browser it gives the following error.


Apache Tomcat/4.0.1 - HTTP Status 404 -
/pmisnet/servlet/welcome

--------------------------------------------------------------------------------

type Status report

message /pmisnet/servlet/welcome

description The requested resource (/pmisnet/servlet/welcome) is not available.

--------------------------------------------------------------------------------

i have defined the application in server.xml with following lines-
<Context path="/pmisnet" docBase="f:\java\pmis1"
         debug="0" reloadable="true"/>

After that i copy the welcome servlet to example context and there it works fine.

-----------I feel that i have missing some configuration( in web.xml) that is required 
in tomcat 4.x
Can any body suggest a solution.
TIA
Soubhratra


____________________________________________________________
Sent via ocsemail from IASRI Intranet System intranet

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to