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
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
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
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
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,
: 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
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