<Host name="MyHost" debug="99" appBase="/SomePath1"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false"> <Context path="" reloadable="true"
docBase="/SomePath2"
workDir="/SomePath2/work" /> <Context path="/MyContext" reloadable="true"
docBase="/SomePath3"
workDir="/SomePath3/work"/></Host>
The code in 'MyContext' is a library of code that I am hoping to be able to reuse in serval sites on the same server. The thing is it needs a config file and I would like the config file to always be in the root of the site. The thing is if I do a get getRealPath("/") from the code in MyContext it will always return SomePath3. How do I get the docbase of the "" context, (SomePath2)? or even of the virtual host, (SomePath1), from with in MyContext.
I guess I am asking if it is possible to getRealPath cross context?
Thanks
-Cam
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
