Title: FW: BugRat Report #418 - Problem with include directive

<<DataSource attachment 'Report-418.html'>>
Hi, there,

I download the Tomcat 3.2.1 on Window2000. I want to use its JSPC compiler to compiler some JSP files.

I have c:\test\boo\foo1.jsp and c:\test\boo\foo2.jsp. foo1.jsp use JSP include directive
<%@include file="foo2.jsp" %>
When I enter c:\test directory and use JSPC to compile "jspc -webapp .", it tells me 'Bad file argument to include'. But if I change the include directive to <%@include file="/boo/foo2.jsp" %>, it will compile correctly.

I find this bug in the bug database. It seems the same. However, it says it is closed. I want to verify if the fix is in the build 3.2.1.

Thanks.

Lan

-----Original Message-----
From: BugRat Mail System
To: Adam Rabung; Lan Jiang
Sent: 1/26/01 10:26 PM
Subject: BugRat Report #418 - Problem with include directive

----- Sender's Comment -----
Tomcat JSPC bug
----- End Of Sender's Comment ---------------------------
Report URL: <http://znutar.cortexity.com/BugRatViewer/ShowReport/418>

Report #418 Details

Project: Jasper
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: closed
Priority: high
Severity: critical
Confidence: public
Environment:
   Release: version released with TomCat3.2b
   JVM Release: 1.2.2
   Operating System: nt
   OS Release: 4
   Platform: Intel P3

Synopsis:
Problem with include directive

Description:
<%@ include file="../../library.jsp"   %>

gives the following error message

'Bad file argument to include'

when compiled from the command line but NOT when served as a JSP page
under TomCat3.2beta7.

The command line used to compile the JSP page is given in the 'How to
Reproduce'.
 <<DataSource attachment 'Report-418.html'>>

Title: BugRat Report # 418

BugRat Report # 418

Project: Jasper Release: version released with TomCat3.2b
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: closed
Priority: high Severity: critical
Confidence: public

Submitter: Christopher Kirk ( [EMAIL PROTECTED] )
Date Submitted: Nov 21 2000, 03:41:38 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
Problem with include directive
Environment: (jvm, os, osrel, platform)
1.2.2, nt, 4, Intel P3

Additional Environment Description:

Report Description:
<%@ include file="../../library.jsp" %> gives the following error message 'Bad file argument to include' when compiled from the command line but NOT when served as a JSP page under TomCat3.2beta7. The command line used to compile the JSP page is given in the 'How to Reproduce'.

How To Reproduce:

Workaround:

View this Report online...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to