See this discussion:
http://marc.theaimsgroup.com/?l=tomcat-userm=103904964313189w=2
Jake
At 07:33 AM 12/5/2002 -0800, you wrote:
You can place your data file under WEB-INF/lib as a jar file, or as far
as i know, anything under WEB-INF cannot be accessed by direct
client request. So you
Hi,
How do I connect to a Data-File above the WEB-INF-Folder from a servlet
For example my class is placed in
$CATALINA_HOME/webapps/ROOT/WEB-INF/classes/myApp/server/servlet.class
and my data-files are placed in $CATALINA_HOME/webapps/data/data.dat or
so. Is this possible or does anybody
Howdy,
How do I connect to a Data-File above the WEB-INF-Folder from a
servlet
For example my class is placed in
$CATALINA_HOME/webapps/ROOT/WEB-INF/classes/myApp/server/servlet.class
and my data-files are placed in $CATALINA_HOME/webapps/data/data.dat or
so. Is this possible or does anybody
Patrick Kosiol writes:
Hi,
How do I connect to a Data-File above the WEB-INF-Folder from a
servlet
For example my class is placed in
$CATALINA_HOME/webapps/ROOT/WEB-INF/classes/myApp/server/servlet.class and
my data-files are placed in $CATALINA_HOME/webapps/data/data.dat or so. Is
Howdy,
You want to be careful when running executables from your servlet (and
from a web server in general). You're opening up security holes there.
From your servlet, assuming the file is at /home/myname/myprogram:
String execPath = /home/myname/myprogram;
Runtime runtime =