• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Help me with Tomcat 5!!!

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi folks,
have anyone tried using tomcat 5? i just installed it and tried playing with it. it has two ContextPaths, namely servlets-examples and jsp-examples, which works fine. but i could not find these two defined in "server.xml" like they used to be in tomcat4.x and even in lower version. since they are not defined in "server.xml" file, i am wondering how does the tomcat recognize these two contexts. can anyone please explain me or even forward me to the site that has information about it?
thanks.
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've not tried with version 5, but anyway, if you just place a war file under the webapp directory, Tomcat load the context automatically on startup.
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Defining a context in server.xml is just *one* way of specifying a context (or WebApp). The simple existence of a directory within Tomcat's WEBAPPS directory is also enough to specify it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic