Can't resolve absolute path JSP

File structure:
/a.jsp
/b/d/c.jsp

a.jsp specifies a bunch of taglib uri's.
c.jsp includes a.jsp: <%@ include files="/a.jsp" %>

The file, a.jsp, resolves but the tags declared in a.jsp are unresolved symbols. However, if the include is <%@ include file="../../a.jsp" %> then the file a.jsp and all the tags resolved.

2 comments

Hello Upilogue,

Is the web resource directory containing these jsp files mapped to "/" (Settings
| Project structure | ]]> | Web Module Settings)?

File structure:
/a.jsp
/b/d/c.jsp
a.jsp specifies a bunch of taglib uri's.
c.jsp includes a.jsp: <%@ include files="/a.jsp" %>
The file, a.jsp, resolves but the tags declared in a.jsp are
unresolved symbols. However, if the include is <%@ include
file="../../a.jsp" %> then the file a.jsp and all the tags resolved.



0

Yes, it is (http://www.intellij.net/forums/thread.jspa?forumID=27&threadID=263602#5176238).

My web module root: /webapp. The JSP files are under that directory. Everything else resolves fine except the tags declared in the absolute path JSP include (the included JSP file itself resolves).

Message was edited by:
Upilogue

0

Please sign in to leave a comment.