This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 9115 - The relative path does not work in <jsp:include
Summary: The relative path does not work in <jsp:include
Status: CLOSED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-16 15:19 UTC by Petr Pisl
Modified: 2002-07-19 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2001-01-16 15:19:06 UTC
Given these files:

util/foo.jsp common/goo.jsp

And this code:

[somewhere in foo.jsp] <jsp:include page="../common/goo.jsp" flush="true"/>

In Boston:
Will result in a 'Included Servlet Error: 500...' error?

In Netbeans #104:
Compilation of the requested JSP page failed. Please see compilation errors in
the Output Window

And it is in Output Window:
 [-1:-1] Your web module does not contain file
C:\Forte\netbeans\Development\common\goo.jsp

-- but this file exists

The problem is too, that it works in F4J 1.0 and our customers, who developed
their applications in F4J 1.0 can not work in F4J 2.0.
Comment 1 Petr Jiricka 2001-01-18 15:38:59 UTC
Fixed in the trunk: 18-Jan-2001. The fix is that if the compilation mechnism
which calls the IDE fails for some reason, use the compiler built-in in Tomcat.

Still needs to be fixed in Boston, as this bug is serious enough to be fixed in
the released product.
Comment 2 Petr Pisl 2001-01-23 12:28:59 UTC
Fixed in Boston (FFJ 2.0) JP1.