Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resources context in tomcat

 
jo das
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using tomcat 5.5.27, and i'm loading some configuration parameters via a standard .ini file into my servlet. the problem i'm having is in wiring up a local context - when i try a System.getProperty("user.dir"), the context appears as a subdirectory of the tomcat installation, ie the bin folder (have tried on a few machines & installs) - but i'd like for it to exist within the directories of the servlet itself. from what i'm reading the context.xml file is defunct now - when i add it, the server tells me it's being ignored. so i'm not sure what i'm missing here? any pointers be very much appreciated!

cheers,

gina
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic