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 164599 - JSP Include Variable Definitions Not Recognized
Summary: JSP Include Variable Definitions Not Recognized
Status: RESOLVED DUPLICATE of bug 157782
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
: 168044 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-06 15:05 UTC by bakarirum
Modified: 2009-11-12 10:14 UTC (History)
3 users (show)

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 bakarirum 2009-05-06 15:05:43 UTC
steps to reproduce:

Create JSP page (test.jsp).

Use JSP include tag.
<%@ include file="myfile.jsp" %>

In the myfile.jsp file, define a variable (i.e. String myvalue = "test").

In the test.jsp file and below the include statement access the variable. (out.print(myvalue);)

The JSP parser will not recognize this as a valid variable.
Comment 1 Marek Fukala 2009-05-07 09:37:18 UTC
Reproducible. The usecase worked AFAIR. Tomasz is the expert.
Comment 2 Tomasz Slota 2009-11-12 09:53:26 UTC
*** Bug 168044 has been marked as a duplicate of this bug. ***
Comment 3 Tomasz Slota 2009-11-12 10:14:02 UTC

*** This bug has been marked as a duplicate of bug 157782 ***