Hello !
 
I now try use Idea (v 2.5) and test pandora (v 2.5.1 build 539) for edit JSP pages.
And I use "include" like this:
file1: ========== index.jsp
<%@ include file="header.jsp"%>
<%
  ArrayList al    = new ArrayList();
.......
%>
......
file2: ========== header.jsp
<%@ page  language="java"
import="java.io.*,
          javax.servlet.*,
          javax.servlet.http.*,
          java.util.*,
          java.util.StringTokenizer,
 
          session="true"
          autoFlush="true"
          isThreadSafe="true"
          isErrorPage="false"
          errorPage="ErrorPage.jsp"
          contentType="text/html; charset=windows-1251"
......
%>
and when I open this project in Idea, I got ... "can not resolve.... "  and suggesting for import java.util.ArrayList, although in header.jsp this class already was imported.
 
...
  • JSP editing. References to variables and methods defined in included files (static includes) are recognized.
  • JSP editing. Navigation to included files (static includes) via Ctrl-B and Ctrl-Click.
  • JSP editing. Broken links are highlighted for static includes.
  •  
    or, may be I do it wrong.
     
    Can you help me find solution?
    Thank you.
    WBR Alex Mazurok

    Reply via email to