Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 5512 invoked from network); 6 Jun 2002 12:35:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Jun 2002 12:35:48 -0000 Received: (qmail 27906 invoked by uid 97); 6 Jun 2002 12:35:30 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 27890 invoked by uid 97); 6 Jun 2002 12:35:29 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 27877 invoked by uid 98); 6 Jun 2002 12:35:29 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Thu, 06 Jun 2002 05:35:25 -0700 Subject: Re: CrossContext. Is there a easier solution? From: Phillip Morelock To: Tomcat Users List Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > For instance, if I have a webserver and I want all the webapps to look in only > one dir for images... how would I do that? Actually, in this case at least, it should not matter. The browser downloads the html page, and then sends subsequent requests back to the server for images. You could even put all your images in one context and have all your other contexts use that for images. There is no connection (usually) between the request sent for the page and the requests sent for each of the images. The only difference would be if you need to control access to these images, which it doesn't sound like you need to do. I would just set up one context for images. Turn off cookies and such for this context, so there's absolutely no possibility of collision in terms of session ID's, etc. (I don't know if tomcat would send a cookie for a "static" request anyhow...). Hope this helps fillup On 6/6/02 5:18 AM, "Christian J. Dechery" wrote: > As I can see, > > and for what I've tried to acomplish, this CrossContext thing is no picnic. It > isn't easy to apply or use. > Isn't there a easier of doing this? > > For instance, if I have a webserver and I want all the webapps to look in only > one dir for images... how would I do that? > > .:| Christian J. Dechery > .:| FINEP - Depto. de Sistemas > .:| christian@finep.gov.br > .:| (21) 2555-0332 > > -- To unsubscribe, e-mail: For additional commands, e-mail: