Title: Сообщение

Alexey,

 

Here’s my configuration:

 

Project root points to D:\Work\TestGround\

WebApp points to D:\Work\TestGround\TestApp\

File D:\Work\TestGround\TestApp\import.jsp content:

 

<%@ include file="/includes/top.jsp" %>

 

<%

    List list = new ArrayList();

    list.add("test");

%>

 

File D:\Work\TestGround\TestApp\includes\top.jsp content:

<%@ page import="java.util.ArrayList,

                 java.util.List"%>

 

 

 

Everything works ok. Could you create small project which reproduces the bug and send me the whole project tree with .ipr file itself?

 

Best regards,

Mike Aizatsky.

------------------------------

IntelliJ Software, "Develop with pleasure!" http://www.intellij.com

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alexey A. Efimov
Sent:
Wednesday, March 06, 2002 5:58 PM
To: [EMAIL PROTECTED]
Subject: RE: [Eap-list] Precatory words

 

> 2. I already post quest about this trouble. But I suppose that I not correctly say description of triouble, I will repeat:

> <%@ page include="/includes/top.jsp" %>

I think this directive is incurred. You should use <%@ include file="/includes/top.jsp" %>. If I change this directive, everything works here as intended. Please try it.

I notright write code. Excuse me. Exatly code look like:

<%@ include file="/includes/top.jsp" %>

<%
/
/ Without imports write follow code:

List list = new ArrayList();
// This not requere imports becose imports are declared into /includes/top.jsp
// But ItelliJ not success regognize that. It recognize all variables and method from /includes/top.jsp but not imports and other directives.

// For example not allowed using of <%@ page contentType=".." %> more that one times.
%>

And it not working in Web Application.

 

Reply via email to