Re: Variable returning context name

2009-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, rub...@lat-lon.de wrote: > Hi list, > 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.append

Re: Variable returning context name

2009-01-28 Thread Ingmar Lötzsch
> 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() insid

Variable returning context name

2009-01-28 Thread rubach
Hi list, 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 Thanks H