• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mapping servlet name and context

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
Bret
 
You had your fun. Now it's time to go to jail. Thanks for your help tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic