tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingmar Lötzsch <iloetz...@asci-systemhaus.de>
Subject Re: Variable returning context name
Date Wed, 28 Jan 2009 16:21:21 GMT
> is there  an tomcat (5.5x) variable which gives back the context name such
> as webappRoot returns the path to the webapp!?
> I plan to use this to specify an logfile such as
> log4j.appender.logfile.File=${log.dir}/${contextnamevariable}_test.log

I'am using ServletContext.getContextPath() inside a
ServletContextListener implementation.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message