Thursday, 15 May 2014

IntelliJ IDEA resolving web paths in JSP -



IntelliJ IDEA resolving web paths in JSP -

how can set intellij looks files referenced in jsp? if have

<jsp:include page="/foo/bar" />

it cannot resolve directory foo.

it looks settings > web contexts deals this, when go there, says

no web directories found

you should configure web facet in project settings, configure directory containing foo "web resource directory". if root directory, set "path relative deployment root" /.

see official doc more info.

intellij-idea

No comments:

Post a Comment