You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joe Laffey <jo...@laffeycomputer.com> on 2000/11/02 22:02:36 UTC

/servlet under NT

By some miracle I got this working under Mac OSX (BSD style), but now I
need it under NT. I have some existing apps that require the serverts to
by accessed under
http://www.yourcompany.com/servlet/com.your.company.servlet

So I need to setup a "/servlet" context right? I want these servlets
(class files) to reside in
"C:\Program Files\Apache Group\Apache\htdocs\servlets"

I do not want anything in the TOMCAT_HOME tree. I also want JSP files to
work from any web directory (think this works).

So my question is, where do I put this? Do I use forward slashes or
backslashes?

On my OS X box I edited tomcat.properties to add a new zone called
"servlets". I defined a properties files "servlet.properties" that
specified a repository in the right directory. I then added "ApJServMount
/servlet /servlets" to my tomcat.conf (which is included in httpd.conf).
This worked fine.

Is there some new way to do this with Tomcat? The way I am trying is more
of a mod_JServ way.

Thanks!

Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
-------------------------
With no walls or fences on the Internet, who needs Windows or Gates?
---------------------------------------------------------------------