Hi Markus,

You should configure a WebApp in "File | Project Properties | Web". All JSPs
that are located under the WebApp root directory will be resolved against
it.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Markus Halttunen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello!
>
> I noticed that new versions of IDEA seem to support the <%@ include
> file=...%> tag which is great! I have a problem, though.
>
> How do you specify the server root for IDEA project? In my code, I have a
> statement like:
>
> <%@ include file="/common/Init.jsp" %>
>
> Idea says something like "Broken link". If I change it to something like:
>
> <%@ include file="c:/project/wwwroot/common/Init.jsp" %>
>
> Idea doesn't complain (and really does include e.g. the imports specified
> in that file!) but the JSP page stops working. Also, I would not want to
> specify absolute path on the JSP pages so it would not be a very good
> solution anyway.
>
> So what I am asking is that is it already possible to include relative
> files in JSP and if not, will this feature be implemented? I sure hope it
> would be, because I have really been anticipating for IDEA to handle the
> includes.
>
>   - Markus


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to