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

Summary: The relative path does not work in <jsp:include
Product: javaee Reporter: Petr Pisl <ppisl>
Component: CodeAssignee: issues@javaee <issues>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.