JPS include problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alexander_Mazurok
Posted On:   Tuesday, December 25, 2001 03:29 AM

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"    More>>

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.



or, may be I do it wrong.



Can you help me find solution?

Thank you.

   <<Less

Re: JPS include problem

Posted By:   Kai_Virkki  
Posted On:   Monday, January 14, 2002 09:00 AM

This is a feature of IDEA. Maybe IntelliJ will solve this in a future version as it's a bit annoying if you're using lots of include directives.
About | Sitemap | Contact