Hi!
I've copied the .class files c:\tomcat4\webapps\ROOT\WEB-INF\classes I've include the following lines in autoexec.bat: set JAVA_HOME=c:\jdk1.2 set CLASSPATH=.;C:\tomcat4\common\lib\servlet.jar;%CLASSPATH% set PATH=%PATH%;%JAVA_HOME%\bin I've uncommented the following line in c:\tomcat4\conf\server.xml: <Context path="" docBase="ROOT" debug="0"/> I did not create the web.xml.If required,where should it be created and what should be included in that file. I've wriiten a simple servlet and not in a package,and the URL to access it is: (First.class is the servlet) http://localhost:8080/First Thanks, SriLatha. --- Mauro Daniel Ardolino <[EMAIL PROTECTED]> wrote: > Some questions: > > Where did you put the files of your applications? > (*.class, *.jsp, *.html) > Did you create the web.xml file? > If so, did you declare your servlet there? > How did you write the URL to access your servlet? > Is your servlet in a package? > > > More information at: > http://localhost:8080/tomcat-docs/appdev/deployment.html > > (notice "localhost:8080" means in your own PC with > Tomcat running). > > > Mauro > > > > On Mon, 9 Sep 2002, srilatha sagar wrote: > > > Hi! > > I've installed tomcat 4.0 and jdk1.2 on windows 98 > > machine.The server is installed and i'm able to > run > > the examples/jsp and examples/servlet files. > > > > But when it comes to my own Servlet files,it's > giving > > the error:HTTP 404,file not found. > > > > Please let me know,as how to configure tomcat 4.0 > on > > win98 machine,so as to execute servlets and also > where > > to set the environment variables,and which system > > files to be updated for configuration. > > > > Thanks, > > SriLatha. > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Finance - Get real-time stock quotes > > http://finance.yahoo.com > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > -- > Ing.Mauro Daniel Ardolino > Departamento de Desarrollo y Servicios > Altersoft > Billinghurst 1599 - Piso 9 > C1425DTE - Capital Federal > Tel/Fax: 4821-3376 / 4822-8759 > mailto: [EMAIL PROTECTED] > website: http://www.altersoft.com.ar > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
