You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Shelley <ra...@gmail.com> on 2007/09/07 18:06:13 UTC

Overriding the Webapp Display Name

Can the web-app displayName (from the web deployment descriptor) be
overridden via any Tomcat configuration (ex: context.xml)?

RE: Overriding the Webapp Display Name

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Shelley [mailto:randomshelley@gmail.com] 
> Subject: Overriding the Webapp Display Name
> 
> Can the web-app displayName (from the web deployment descriptor) be
> overridden via any Tomcat configuration (ex: context.xml)?

I made a cursory scan of the relevant Tomcat 6 code, and didn't find any
means of overriding what's in the web.xml file via configuration.  The
org.apache.catalina.core.StandardContext class does provide a
setDisplayName() method, so you might be able to do it with a valve or
listener at run time.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org