You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Jon Zeppieri <jo...@employease.com> on 1999/12/12 22:45:16 UTC
configuration: mapping servlets to URIs
Tomcat people:
Is it possible to run servlets in Tomcat *without* setting up a
"web-application"? More to the point, is it possible to map servlets to
URIs directly off the server root?
What I want is to have
http://www.blah.com/foo/
point to one servlet and
http://www.blah.com/bar/
point to another.
I don't want to use the verbose web-application naming convention. If I
were writing all of this code from scratch, I probably would use it, but
a lot of the code already exists, and assumes that certain resources can
be found directly off of the server root.
I've looked at the server.xml file and at the code (briefly), but
nothing jumped out at me. Also, will my naming scheme be possible if I
were to use Apache as the http server and Tomcat only as the servlet
container?
-Jon
--
[F]or Schopenhauer, [the world process] results from the attempt of a
primal will to consume itself.... [W]hy would it attempt to devour
itself? Schopenhauer's answer, which I find irresistible, is this: it
devours itself because it's all there is, and it's hungry. (Alan White)