JSPs are working just fine using the Tomcat 4 install scripts. I cannot get Servlets to work though. They return a 404 The requested resource (/servlets/MyServlet) is not available. I'm at a loss.
I'm guessing it has something to do with either the server.xml or web.xml file, but I don't see anything wrong.
These entries are there:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
I'm trying to access the servlet using either:
http://www.domain.com/servlet/MyServlet
or
http://www.domain.com/servlets/MyServlet
The servlet is located in the /home/username/public_html/servlet directory is has been chmod 755.
Anyone have any ideas?
Thanks,
jaz
I'm guessing it has something to do with either the server.xml or web.xml file, but I don't see anything wrong.
These entries are there:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
I'm trying to access the servlet using either:
http://www.domain.com/servlet/MyServlet
or
http://www.domain.com/servlets/MyServlet
The servlet is located in the /home/username/public_html/servlet directory is has been chmod 755.
Anyone have any ideas?
Thanks,
jaz