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.
Summary: | No connections between JSPF files included into single JSP page | ||
---|---|---|---|
Product: | javaee | Reporter: | Martin Fousek <marfous> |
Component: | JSP | Assignee: | issues@javaee <issues> |
Status: | NEW --- | ||
Severity: | normal | CC: | ramontemp |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Second part of the issue #246249 is about connections between variables included into single JSP file. That's feature we've never supported before. Original text of the issue from reporter is: fileA.jspf: <% String myString = "Hello there"; %> fileB.jspf: <% out.print(myString); %> main.jsp: <%@ include file="WEB-INF/jspf/fileA.jspf" %> <%@ include file="WEB-INF/jspf/fileB.jspf" %> <% out.print(myString); %> > Netbeans recognises the myString variable in the main.jsp page, but gives > the following warning in the fileB.jspf, by highlighting the myString > variable in red: > > cannot find symbol > symbol: variable myString > location: class SimplifiedJSPServlet