Hi Chuck, Here is a link to an article that explains a couple different ways a subdomain cna be used. I am using the second one for directory or folder for images.
http://content.websitegear.com/article/about_subdomain.htm Since I do not use a WAR for static deployment (seems an overkill for me) I am not concerned about it. An admin asked my about wars which I thought to pose here. Thanks again for your very prompt reply. -Tony --- On Wed, 10/21/09, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote: > From: Caldarale, Charles R <chuck.caldar...@unisys.com> > Subject: RE: Subdomains and Wars... > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Wednesday, October 21, 2009, 12:36 PM > > From: Tony Anecito [mailto:adanec...@yahoo.com] > > Subject: Subdomains and Wars... > > > > How would one associate the static content within a > WAR with a > > subdomain when using subdomains assigned to > directories? > > What do you mean by "subdomains assigned to > directories"? Can you provide the Tomcat configuration > you're using that implements whatever it is you're > describing? > > > Is the location that the war is exploded to known well > enough > > that it can be done? > > In general, the container (Tomcat) is under no obligation > to provide *any* access to the file system, other than the > temp space required by the servlet spec. Where (and > even if) a .war is expanded is not mandated by the spec, so > there's no guarantee that any directories exist (or, for > that matter, that there's a file system at all). > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR > OTHERWISE PROPRIETARY MATERIAL and is thus for use only by > the intended recipient. If you received this in error, > please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org