Hi,
I'm trying to run a simple Hello world servlet called myAppServlet. I'm using Windows
XP, Tomcat 4.1, and j2sdk 1.4.1. The servlet WILL run when I put it in
webapps/examples/WEB-INF/classes. I can run it with the browser address,
http://localhost:8080/examples/servlet/myAppServlet
Try it from http://localhost:8080/myApp/myAppServlet
That might work -- your URL-mapping doesn't say to look for
servlet/myAppServlet.
Erik
Mark wrote:
Hi,
I'm trying to run a simple Hello world servlet called myAppServlet. I'm using Windows XP, Tomcat 4.1, and j2sdk 1.4.1. The servlet
PROTECTED]]
Sent: Thursday, January 16, 2003 12:36 PM
To: Tomcat Users List
Subject: Test servlet won't run - help?
Hi,
I'm trying to run a simple Hello world servlet called
myAppServlet. I'm using Windows XP, Tomcat 4.1, and j2sdk
1.4.1. The servlet WILL run when I put
Wow, thanks for the timely response. That was right on the money. I love
you guys. Thanks Erik.
I will be unsubscribing now. Thanks again.
Mark Steere
[EMAIL PROTECTED]
Try it from http://localhost:8080/myApp/myAppServlet
That might work -- your URL-mapping doesn't say to look for
-pattern
/servlet-mapping
in the web.xml file you should not need to include servlet in every mapping
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:56 AM
To: Tomcat Users List
Subject: Re: Test servlet won't run - help?
Wow, thanks