Do you use some sort of naming policy in your JSP pages that identify
the "static content location" or do you work some sort of Apache config
magic to allow the JSP pages to reference pages relative to the servlet
context's document root? If so, what was the policy and/or magic?
Bryan Field-Elliot wrote:
>
> I wrestled with this problem as well; there is no elegant solution at
> this time. Put your java classes and JSP pages in your WAR file, and
> keep your static content (HTML and images) completely separate, and
> deploy them separately.
>
> Jim Crossley wrote:
>
> >We're currently deploying our web apps (packaged as war files) on
> >Apache+Tomcat 3.2, and it works fine, except for one problem. We'd like
> >to be able to redeploy our apps independently of each other, without
> >having to stop and restart Tomcat.
> >
> >Though we currently don't use EJB's in our apps, the JBoss J2EEDeployer
> >is enough of a reason for us to integrate JBoss into our environment.
> >Everything works great between JBoss and Tomcat, but I'm having a hard
> >time deciding how to integrate Apache.
> >
> >I've searched the archives, and there seems to be no reasonable way to
> >split the serving of static and dynamic content between Apache and
> >Tomcat, respectively. The two solutions proposed are best summarized in
> >these two messages:
> >
> >http://www.mail-archive.com/[email protected]/msg02681.html
> >http://www.mail-archive.com/[email protected]/msg01839.html
> >
> >With all due respect -- I understand the complexity of the problem --
> >these solutions are unacceptable to us, the first because Tomcat is
> >still serving both static and dynamic content, and the second because it
> >defeats the purpose of the war file, making deployment even more
> >error-prone than it already is.
> >
> >Is there a better way?
> >
> >Thanks.
> >
> >_______________________________________________
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user