Title: JSP Static Includes

Alexey,

 

Absolute includes work only in case you have WebApplication correctly set up. Please look for message “Web Application Support in Ariadna” in eap list archives for further details.

 

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 11:39 AM
To: [EMAIL PROTECTED]
Subject: [Eap-list] JSP Static Includes

 

Most useful foolw form of JSP modeling:

JSPPageTop.jsp
<%@ page import="java.io.*,
    java.util.*,
    java.text.*,
   ….
    org.w3c.dom" %>

// Other common methods and static fields

 

CommonJSP.jsp
<%@ include file="/JSPPageTop.jsp" %>

<%
List list = new ArrayList(); // Without import java.util.List and java.util.ArrayList, becose it defined in JSPPageTop.jsp.

%>

For CommonJSP.jsp IntelliJ not recognize imports in JSPPageTop.jsp and mean that List and ArrayList not imported (prompt for Alt+Enter).

Thanks.

Alexey Efimov - Software Engineer
Sputnik Labs
1st Kolobovsky per., 6/3
Moscow, 103051, Russia
Phone: +7 (095) 725 5444
Direct: +7 (501) 401 3217
Fax: +7 (095) 725 5443
E-Mail: mailto:[EMAIL PROTECTED]
http://www.spklabs.com

Reply via email to