Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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
 
I want my playground back. Here, I'll give you this tiny ad for it:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!