Hari
Good point, I see that my url-pattern entry of phpserver was incorrect. I've changed
this now to your recommendation of:
servlet-namehelloworld/servlet-name
url-pattern/helloworld/url-pattern
I then try http://localhost:8080/phpserver/servlet/helloworld but I still get a 404
error.
Does
Make sure your servlets are either in /WEB-INF/lib (if in a jar ) or
/WEB-INF/classes/ (if as .class)
ben f wrote:
Hari
Good point, I see that my url-pattern entry of phpserver was incorrect. I've changed this now to your recommendation of:
servlet-namehelloworld/servlet-name
Kwok
Thanks for the reply. I've made some progress since I mailed. I put the servlet
HelloWorldExample.class in webapps\phpserver\WEB-INF\classes then opened up
http://localhost:8080/phpserver/helloworld (using the web.xml described in my last
post). I got the following:
, 2002 2:53 PM
Subject: RE: tomcat configuration for a newbie
Hari
Good point, I see that my url-pattern entry of phpserver was incorrect.
I've changed this now to your recommendation of:
servlet-namehelloworld/servlet-name
url-pattern/helloworld/url-pattern
I then try http://localhost:8080
/tomcat-5.0-doc/class-loader-howto.html
John
-Original Message-
From: ben f [mailto:ben_m_f;yahoo.co.uk]
Sent: Thursday, November 07, 2002 4:23 AM
To: Tomcat Users List
Subject: RE: tomcat configuration for a newbie
Hari
Good point, I see that my url-pattern entry of phpserver
try localhost:8080, which is a default for Tomcat
-Original Message-
From: ben f [mailto:ben_m_f;yahoo.co.uk]
Sent: Wednesday, November 06, 2002 10:06 AM
To: [EMAIL PROTECTED]
Subject: tomcat configuration for a newbie
Hi
I am trying to get tomcat to work but unfortunately I am not
[mailto:ADanekyants;ctdi.com]
Sent: Wednesday, November 06, 2002 4:31 PM
To: 'Tomcat Users List'
Subject: RE: tomcat configuration for a newbie
try localhost:8080, which is a default for Tomcat
-Original Message-
From: ben f [mailto:ben_m_f;yahoo.co.uk]
Sent: Wednesday, November 06, 2002 10:06 AM
Venkatesan [mailto:hvenkatesan;pfgc.com]
Sent: Wednesday, November 06, 2002 1:35 PM
To: Tomcat Users List
Subject: RE: tomcat configuration for a newbie
Try this
servlet-mapping
servlet-namehelloworld/servlet-name
url-pattern/helloworld/url-pattern
/servlet-mapping
http