have your external process use a script that points to the webdirectory
or if you use servlets, set an init param in the web.xml or in
server.xml set an environment variable:
or set a session variable in a jsp
Wojciech Ciesielski wrote:
Hi there,
I have one problem... We have to execute
If your webapp is deployed as an exploded app (ie not a .war file),
ServletContext#getRealPath() should do the trick
--David
Wojciech Ciesielski wrote:
Hi there,
I have one problem... We have to execute external Java process from JAR archive
included in our web application directory. The pro
Hi there,
I have one problem... We have to execute external Java process from JAR archive
included in our web application directory. The problem is, that all system
dependant functions are relative to tomcat home directory. And - when our
application is deployed outside tomcat directory via ser