> 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

Reply via email to