ok,
install tomcat,
jsps are workin,
made new context,
jsps are workin in it,
write a servlet(5 min),
try to get servlet working(5 hr),
read documentation,
it says put servlets in WEB-INF/classes dir, did that
it says add servlet to WEB-INF/web.xml, did that
web-app
servlet
ok,
install tomcat,
jsps are workin,
made new context,
jsps are workin in it,
write a servlet(5 min),
try to get servlet working(5 hr),
read documentation,
it says put servlets in WEB-INF/classes dir, did that
it says add servlet to WEB-INF/web.xml, did that
web-app
servlet
Go back to first prinicples. Try accessing the servlet directly via tomcat
rather than worying about apache - try looking at
http://youmachine:8080/yourcontext/servlet/YourServlet
The port 8080 reefres to the port tomcat is running on. With no port
specified, it means you are trying to access via
Just call your servlet as http://hostname/servlet/yourservletname
Perhaps simpler then you thought. You will never call the WEB-INF directory
in a url. That is for internal routing. You didn't tell apache to route to
a WEB-INF directory did you?
If that doesn't work simplify more and call
Hello,
are your examples working: http://server/examples/ ?
You may have a problem with your server settings.
Dan Sharon [EMAIL PROTECTED] on 04/23/2001 01:01:40 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject: seems as though a
There doesn't need to be a servlet directory. Tomcat will automatically
handle it.
The thing that's confusing is that the layout you call from the URL is
mostly virtual...
For your servlet-name element, are you sure you want the .class on the end?
I can tell you that I've no problems setting
restart tomcat(can't believe this has to be done everytime a servlet
gets added or changed), did that
There is a mode (not recommended for production use) for servlet changes to
be noticed by Tomcat and for those servlet class(es) to be automatically
reloaded, so you, strictly speaking,