You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dmitry Beransky <db...@dembel.org> on 2003/08/12 20:16:00 UTC

Jasper2 & absolute file paths under Windows

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