I appologize if this is in the mail archive already, I probably did a poor job searching :-)
The following is my configuration:
Tomcat 3.1
Solaris 2.7
JDK 1.3.0-RC
Apache 1.3.12
Virtual Host
I would like to, for the purposes of backward compatibility, have a
servlet run given the following path:
http://www.somesite.com/myServlet
Where myServlet, is - of course - the servlet that I want to run.
However my provider has Tomcat configured, I can only seem to run servlets
if they are in a path like this:
http://www.somesite.com/servlet/myServlet
I tried fiddling around with my web.xml file and have not been able to land on a configuration that would allow me to do this. I do not, of course, have access to the tomcat.conf nor the conf/web.xml files since they are used by several other people on the box... nor do I seem to have access to my server.xml file... though I could maybe ask to see a copy.
From the code, it appears that if a servlet invoker is defined in conf/web.xml it can be overridden by one defined in a web.xml file defined my my application's WEB-INF directory? Or am I reading that backwards?
Despite that, I can not seem to change the path (even to something like http://www.somesite.com/test/myServlet).
ACTUAL QUESTION: So, what would cause servlets to only be run if the path starts with /servlet? Is it because there is something in tomcat.conf that is telling Apache that servlets should only be invoked along a path that starts with /servlet?
Any suggestions on configuring what I want to do would be appreciated (or any proper reprimands about reading such-and-such before asking such a question :-) ).
Thanks ahead of time!
Allen