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
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
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
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