Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

JSP 'include' variable resolution not working

$
0
0

Hi all,

 

I am running intellij 12.1.2 (latest at the time of this post) and am having a problem with JSPs resolving objects that are defined in includes... effectively here is the inclusion pattern:

 

App proj > /src/main/apps/myapp/global/global.jsp

 

global.jsp contains a number of tag libs that inject objects into the page context scope.

 

Each JSP I have, (App proj > /src/main/apps/myapp/module/foo) includes the global.jsp

 

<%include script="/apps/myapp/global/global.jsp"%> (Note that the path here starts with /apps as in the my application container, /apps is at the root level; and compiles down to org.apache.jsp.apps.myapp.global.global)

 

Everything compiles and runs fine, its just in intellij all the objects defined in the global.jsp are marked as red and undefined.

 

Any idea how I can configure around this?

 

Also, I am also building this as a maven project if that makes a different.

 

Thanks


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>