Hey, all-

(I'm using Restlet JEE 2.x, Tomcat7, JavaSE7.) I have my app running as a 
servlet in Tomcat. Ideally, I would like to be able to copy the .war file from 
one environment to another without recompiling or repackaging. I'm trying to 
figure out how to retrieve information from outside the WAR, whether it be from 
that Tomcat instance's context.xml, or the server's environment, or some other 
location.

I thought I might be able to use the app's ServletContext, but I can't find my 
various settings inside that - if I'm even looking the right way. (I can get 
environment-agnostic settings from web.xml already.)

Is there a preferred method of getting this type of information?

Thanks!

--------------------------
John Wismar
Alldata Technology
916-478-3296

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2918687

Reply via email to