Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Jasper2 & absolute file paths under Windows

Dmitry Beransky

2003-08-12



Is there a way to successfully run Jasper 2 with Tomcat 4.1 under
Windows? I'm looking at the source code and there are a couple of places
where a check for an absolute path is done by looking if the path string
starts "/", ignoring the possibility of a windows path like "c:/....". One
such a place is in ParserController.resolveFileName() (looks like this one
has been fixed in Tomcat 5, but not 4). Another place is in
JspCServletContext.getResource(). Any tips on how to work around this?


Thanks
Dmitry


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.