Hi, I want to be able to run JSP pages from any directory on my server, not just pages under the webapps directory of tomcat. How can I set this up - I guess I am looking for something similar to the CGI scripts in Apache - as long as there is a cgi-bin folder then you can run cgi pages from anywhere. Can this be done for JSP? Thanks guys for your help. WATTO watto@watto.org http://www.watto.org
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11863
posted
0
I believe that is accomplished in the server.xml configuration file - look at the Context tags and related comments. Bill
incase you didn't find it... the server.xml you can add a new context (web app) xml <Context path="" docBase="c:\\YourDirHere" debug="4" reloadable="true" cookies = "true" crossContext = "false"> ..... other attributes </Context>