RE: Determining file locations in tomcat

2006-05-15 Thread Benjamin Armintor
Or you could let go of the idea of file paths and use a URL from the ServletContext.getResource() or the corresponding InputStream from ServletContext.getResourceAsStream(). This also allows you to package the .xsl up in a .war file without breaking. -Original Message- From: Mark Pet

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Benjamin Armintor
I'm not sure about Windows services specifically, but you can start the JVM with a security manager generically by using the "-Djava.security.manager" and "-Djava.security.policy=" java startup options. You can append these to $JAVA_OPTS on Unix systems to get a security manager (it's effectively