It is not necessary to synchronize the directories.

Typically, most people use these mappings for Tomcat requests: "/*.jsp", and
"/servlet/*".  Requests for other content would never get to Tomcat.  If you
had output from a JSP or servlet that referenced a GIF file, it wouldn't
matter.  In your output stream, there would be something like 

<img src="pic.gif">

The client browser will convert that into http://yourhost/pic.gif which is a
valid URL, and does not match either of the Tomcat mappings.

John


> -----Original Message-----
> From: Jose Antonio Martinez [mailto:lfbbes@;yahoo.es]
> Sent: Monday, November 11, 2002 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat + apache (synchronization in different machines )
> 
> 
> Hi everybody,
> 
> I want to have an apache server in a machine and a
> tomcat server in a different machine. I know i can use
> mod_jk to redirect jsp/servlets petitions from the
> apache to the tomcat server ... but: it seems it is
> needed that the webapps directory be the same at both
> machines... so i must use a synchronization method (
> rsync for example ) am i right?? could it possible to
> not replicate the webapps directory from the apache to
> the tomcat machine?
> 
> Thanks.
> 
> _______________________________________________________________
> Yahoo! Messenger
> Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> Descárgalo ya desde http://messenger.yahoo.es
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to