Hi there,
I am using Tomcat 7 and Cocoon 2.1.11.
Question: How do I get the directory of my application as in "C:\Program
Files\Apache Software Foundation\Tomcat 7.0\webapps\myapp"
I was using this call: System.getProperty("catalina.base")
But it only takes me as far as: "C:\Program Files\Apache Software
Foundation\Tomcat 7.0"
the reason is the client wants to run many copies of myapp, each for a
different group as in myapp1, myapp2 and so on.
Internally, in my code I needed this location to do things like upload
files etc. and I was finding my locaiton before using the
getProperty("catalina_base") and adding on to it "\myapp" which clearly
won't work any more.
best
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org