RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Paul Bothma
Hi, Look at the web.xml for /examples. You'll see that you need to map your servlet, etc. Looks something like this: servlet servlet-nameSendMailServlet/servlet-name servlet-classSendMailServlet/servlet-class /servlet servlet-mapping

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Jaap Duursma
It didn't make any difference, I put the following in my web.xml file : ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-namePSO webapp/display-name

RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Turner, John
What URL did you use? The URL you use to access your server has to match the URL in url-pattern. John -Original Message- From: Jaap Duursma [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003 6:57 AM To: Tomcat Users List Subject: Re: servlets don't work in own webapp

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Chong Yu Meng
where I can access it succesfull at : http://localhost:8180/examples/servlets/HelloWorld but when I go to http://localhost:8180/pso/servlets/HelloWorld it doesn't work and gives me a 404 error, resource is not available. The default invoker URL /pso/servlets/HelloWorld is

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Jaap Duursma
On Sat, 15 Feb 2003 23:12:50 +0800 Chong Yu Meng [EMAIL PROTECTED] wrote: where I can access it succesfull at : http://localhost:8180/examples/servlets/HelloWorld but when I go to http://localhost:8180/pso/servlets/HelloWorld it doesn't work and gives me a 404 error,

RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Turner, John
: Saturday, February 15, 2003 11:54 AM To: Tomcat Users List Subject: Re: servlets don't work in own webapp (finshed writing this time) On Sat, 15 Feb 2003 23:12:50 +0800 Chong Yu Meng [EMAIL PROTECTED] wrote: where I can access it succesfull at : http://localhost:8180/examples/servlets

Re: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Chong Yu Meng
To: Tomcat Users List Subject: Re: servlets don't work in own webapp (finshed writing this time) On Sat, 15 Feb 2003 23:12:50 +0800 Chong Yu Meng [EMAIL PROTECTED] wrote: where I can access it succesfull at : http://localhost:8180/examples/servlets/HelloWorld but when I go