Jsp outside webapp

2004-03-11 Thread Anu Pidaparti
Here is my situation: Tomcat 4.1 on Solaris 8 using mod_jk2 to integrate with Apache 1.3 My catalina_home is /opt/tomcat I want all my jsps, images and any static include files to be under the apache document root /webpages instead of /opt/tomcat/webapps/myapp but I want my servlets and classes

RE: Jsp outside webapp

2004-03-11 Thread Shapira, Yoav
Hi, I want all my jsps, images and any static include files to be under the apache document root /webpages instead of /opt/tomcat/webapps/myapp but I want my servlets and classes to reside in /opt/tomcat/webapps/myapp/WEB-INF/classes. JSPs are servlets. Good luck ;) Yoav Shapira This

Re: Jsp outside webapp

2004-03-11 Thread Charles N. Harvey III
A template language like Velocity can do that for you since they are not compiled servlets. You can load templates from a Webapp, filesystem, URL or database. Its worth looking at. Charlie Shapira, Yoav wrote: Hi, I want all my jsps, images and any static include files to be under the

Re: Jsp outside webapp

2004-03-11 Thread Adam Buglass
You need to define it in your build.xml file. Something a bit like this: But consult the documentation thoroughly, this is just a quick hack. property name=app.name value=myapplication/ property name=app.version value=0.01/ property name=build.homevalue=build/ property