Cannot resolve directory issue
Hey there,
I'm currently using the WebStorm 95.98 EAP to develop my HTML/CSS/JS/JSP's and for the life of me cannot find a setting to add a sub directory as a relative path for including of jsp's..
I'll provide screen shot if need be for more info but for now an example of my file structure is like so:
C:\development\workspace\webApp
and within say a jsp which is located in:
C:\development\workspace\webApp\WEB-INF\layout\flexi-layout.jsp
I have a snippet of code trying to include a jsp:
<%@ include file="/WEB-INF/layout/flexible-column.jsp"%>
WebStorm raises a flag to say that it cannot resolve the directory, is there a way to resolve the relative path?
Cheers
Antonio
Please sign in to leave a comment.
Resource paths should be set up via Settings|Deployment|server|web resources. You'll need to add a "local" server description.
Hey Alexey, thank you for your reply.
I've set up the local server corrected mappings, but I'm still getting the unresovled issue?
Antonio
Please attach a screenshot of web resources setup you've created.
Hey Alexey,
As requested please find enclosed a copy of my web resources screen shot..
Thank you
Antonio
Attachment(s):
deployment.png
You're expected to write path relative to project root folder there. (Yes, we know that usability is poor right now)

Anyway I was able to get correct JSP include validation w/o any additional mappings - perhaps I incorrectly copied your layout: