aspose file tools*
The moose likes Servlets and the fly likes mapping servlet name and context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "mapping servlet name and context" Watch "mapping servlet name and context" New topic
Author

mapping servlet name and context

Bret Waldow
Ranch Hand

Joined: Aug 04, 2000
Posts: 59
Servlets are addressed with this syntax:
<server ort>/<context>/<servletName>...

I've found I can map the <servletName> to /, collapsing the syntax to:
<server ort>/<context>/...

I have a request (short-term) from my boss to try to collapse this further:
<server ort>/...

We don't need (any of our) other servlets running on this server. I can see that in the large case, this is a Bad Thing, but we have a special situation, and I would like to hear of solutions anyone knows to this. We are using Tomcat 5.x now, and in my reading of the .xml files, I can see Tomcat loads several things it wants for default functionality, but we may be able to dispense with all of those (loading files, etc. - we only want to load our servlet).

Any experience with such? Standard terms to Google for? Etc?

Thanks in advance,
Bret
 
Don't get me started about those stupid light bulbs.
 
subject: mapping servlet name and context