• Post Reply Bookmark Topic Watch Topic
  • New Topic

mapping servlet name and context  RSS feed

Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!