JBoss Elite!
I have tried any number of ways to get the JBoss-3.0.4/Tomcat
4.1.12-LE-jdk14 Integrated bundle to serve up a simple jsp/servlet web
application. Each of the approaches has been unsuccessful. The deployed
JSP works, but the called servlet does not. I have successfully taken
the
Your problem is that you didn't define nor map your servlet in your
web.xml file. The fact that other web containers let you get away with
that is extra and not per spec.
I got your example web app working by changing 2 files:
web.xml:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
You are relying on the deprecated invoker servlet to map anonymous servlets to the
/servlet/* URL namespace. The mapping for the invoker servlet is commented
out in the tomcat-4.1.x/conf/web.xml, so the
a href=servlet/HelloWorldClick here to execute the Servlet/a
fails. Fix your web.xml to
Thanks Scott and Dave, my original question must've posted at an off
time. I appreciate the brevity and clarity
of your responses.
Will
Scott M Stark wrote:
(sic)
David Ward wrote:
(sic)
---
This sf.net email is sponsored by:ThinkGeek
JBoss Elite!
I have tried any number of ways to get the JBoss-3.0.4/Tomcat
4.1.12-LE-jdk14 Integrated bundle to serve up a simple jsp/servlet web
application. Each of the approaches has been unsuccessful. The deployed
JSP works, but the called servlet does not. I have successfully taken
the