Watch, Follow, &
Connect with Us
Public Report
Report From: JBuilder/Web Development    [ Add a report in this area ]  
Report #:  10633   Status: Closed
JSP: editor can't find imports and variables of included other jsp's
Project:  JBuilder Build #:  11.0.280.0
Version:    12 Submitted By:   Ralf-Peter Isensee
Report Type:  Basic functionality failure Date Reported:  1/27/2005 3:23:11 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   221257
Resolution: Fixed (Resolution Comments) Resolved in Build: : 012.000.203.000
Duplicate of:  None
Voting and Rating
Overall Rating: (5 Total Ratings)
4.80 out of 5
Total Votes: 5
Description
The editor can't find imports and variables of included other JSP's and the structure pane shows Java-errors(unresolved symbols).
(works fine in JB9)
Steps to Reproduce:
1)
create a JSP like:
  header.jsp
  <%@ page import="java.util.List"%>
  <%
    List myList = null;
  %>


2)
create JSP, open in editor, include header.jsp like:
  main.jsp
  <%@ include file="header.jsp">
  <%
     List otherList = myList;
   %>


-> inside main.jsp the editor doesn't know/find the import java.util.List and the variable myList defined in header.jsp
-> structure pane shows errors(unresolved symbols)
Workarounds
None
Attachment
None
Comments

Jeroen T. Wenting at 3/1/2005 6:52:34 AM -
running into the same here in build 315 update 3. We use a LOT of includes, with over 500 JSPs in the project there's no other way to keep our sanity.

Server Response from: ETNACODE01