JSP-included file leads to broken link in IntelliJ IDEA 2.6
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, June 11, 2002 02:07 AM

Hi! I'm using IntelliJ IDEA 2.6 Build #551 from May 23, 2002. Our web application contains JSP files and Java sources in the folder C:myprojectcode so i mounted this folder as a source path. IDEA finds all classes as expected and offers code completion and everything for Java sources - great! But for JSP files, we have the following problem: C:myprojectcodeJSPsubfolderfile1.jsp contains a JSP include of "/JSP/include.jsp" as follows: <%@ include file="/JSP/include.jsp" %> We maintain important project-wide definitions in the file c:myprojectcodeJSPinclude.jsp so we have to include it in all JSP files. Since the included file is not found   More>>


Hi!


I'm using IntelliJ IDEA 2.6 Build #551 from May 23, 2002.
Our web application contains JSP files and Java sources in the folder

C:myprojectcode
so i mounted this folder as a source path.
IDEA finds all classes as expected and offers code completion and everything for Java sources - great!
But for JSP files, we have the following problem:
C:myprojectcodeJSPsubfolderfile1.jsp
contains a JSP include of "/JSP/include.jsp" as follows:
			
<%@ include file="/JSP/include.jsp" %>

We maintain important project-wide definitions in the file
c:myprojectcodeJSPinclude.jsp
so we have to include it in all JSP files.
Since the included file is not found, we have lots of parse errors in all our JSP files although the application is runnig perfectly in Tomcat, i.e. that all JSP files can be compiled correctly.


Any help is appreciated!

   <<Less

Re: JSP-included file leads to broken link in IntelliJ IDEA 2.6

Posted By:   Serge_Baranov  
Posted On:   Tuesday, June 11, 2002 06:59 AM

Support for static JSP-include will be added, as it is a very commonly used construct. This feature will be appearing in a future IDEA release yet to be determined.
About | Sitemap | Contact