Anyway I thnk I have just figured out what I need to do :) dumb brain not working today.
From: QM <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: a question or two Date: Mon, 20 Sep 2004 15:44:52 -0500
On Mon, Sep 20, 2004 at 08:19:44PM +0000, Didier McGillis wrote:
: This site that I'm moving over to an Apache/Tomcat intergrated site has jsp
: and html pages intermingled, so when I move these over and sperate the jsp
: file from the html file I have to create a folder in the Tomcat folders
: that are named the same as the one in the html side? Is that correct.
I'm not sure I get you here. If all of the webapp data is within the context's path (i.e. you could serve it all from a WAR file) then: 1/ set Apache's doc root to the Tomcat context path 2/ tell Apache to serve the static content and let Tomcat handle the Java
A slight twist on #1, you could setup Apache with a separate document root and copy all static content there. This has the added benefit that Java code never touches the web server (should you separate the web/app servers) but will require some fancy script work if the app is not organized by content, i.e. {context} | +- jsp/ | +- images/ | +- html/
... and so on.
-QM
--
software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new MSN Search! Check it out!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
