You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2001/01/08 19:43:37 UTC
BugRat Report #714 has been filed.
Bug report #714 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com/BugRatViewer/ShowReport/714>
REPORT #714 Details.
Project: Jasper
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: low
Severity: serious
Confidence: public
Environment:
Release: 3.2.1
JVM Release: 1.3.0
Operating System: Windows 2000
OS Release: SP1
Platform: i386
Synopsis:
JspC on Windows fails to handle includes in subdirectories
Description:
On a Windows platform, having JSPs with relative include
paths will cause JspC to emit the following error:
Bad file argument to include
This is because the jspURI passed into CommandLineContext
has the Window path separator '\', instead of the Unix
seperator '/' that is passed into JspEngineContext for the
JSP servlet.
This causes JspReader.pushFile (JspReader.java:142) to not
find the parent of the JSP, and so the path to the include
is calculated with respect to the wrong directory.
I believe that a fix would be to convert file to have '/'
as the path seperator, before passing into the constructor
of CommandLineContext (JspC.java:329).