Hi, I'm using Windows XP operating system, I've already set the servlet.jar file to the CLASSPATH. I'm using Tomcat version 4.1.31. I haven't made the context for "myfirstwebapp" in server.xml. How can it be done? The explanation in the book I'm using is not that clear. Please help. Thank you so much.
Yours Sincerely, TEH --- marju jalloh <[EMAIL PROTECTED]> wrote: > What is your enviroment,which version are you using. > Have you made context for "myfirstwebapp" in > server.xml > > -Marju > > Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: > Hi, > I'm learning to use packages from a book example to > create my own servlet instead of putting the code in > the examples webapp. However the following error > occurs: > > HTTP Status 404 - > /ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet > ________________________________________ > type Status report > message > /ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet > description The requested resource > (/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet) > is not available. > ________________________________________ > Apache Tomcat/4.1.31 > > How can I fix the error? I'm sure that the servlet > is > in the correct directory and I've put the web.xml in > the WEB-INF directory. Did I miss anything? Please > help. Thanks. > > Yours Sincerely, > TEH > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]