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

0
5 comments

Resource paths should be set up via Settings|Deployment|server|web resources. You'll need to add a "local" server description.

0

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

0

Please attach a screenshot of web resources setup you've created.

0

Hey Alexey,

As requested please find enclosed a copy of my web resources screen shot..

Thank you
Antonio



Attachment(s):
deployment.png
0

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:

Screen shot 2010-05-13 at 01.46.37.png

0

Please sign in to leave a comment.