why IDE doesn't support JSP include in an editor?

Hello,

When saying doesn't support I meant that if you have in your JSP something
like:
<%@ include file="xxx.jsp" %>

and in the xxx.jsp you define some variables then these variables marked as
unknown in the page that includes xxx.jsp.



Thank you


5 comments
Comment actions Permalink

Peter Litvak wrote:

Hello,

When saying doesn't support I meant that if you have in your JSP something
like:
<%@ include file="xxx.jsp" %>

and in the xxx.jsp you define some variables then these variables marked as
unknown in the page that includes xxx.jsp.



Thank you

Make sure that your included file has a recognised JSP file extension
(IDE settings - File Types). Standard types are .jsp, .jspf & .jsf but
you may need to defined your own if you stray from the path.

Robbie (who just got bitten by trying to include a .notjsp file which
really was!)

0
Comment actions Permalink

The problem is actually as simple as I describe. No funny extensions no
path. Strange.

"Robert Gibson" <robbie_usenet@yahoo.co.uk> wrote in message
news:b0jpns$21i$1@is.intellij.net...

Peter Litvak wrote:

Hello,

>

When saying doesn't support I meant that if you have in your JSP

something

like:
<%@ include file="xxx.jsp" %>

>

and in the xxx.jsp you define some variables then these variables marked

as

unknown in the page that includes xxx.jsp.

>
>
>

Thank you

>
>
Make sure that your included file has a recognised JSP file extension
(IDE settings - File Types). Standard types are .jsp, .jspf & .jsf but
you may need to defined your own if you stray from the path.

>

Robbie (who just got bitten by trying to include a .notjsp file which
really was!)

>


0
Comment actions Permalink

Never mind. There was a config. issue.

"Peter Litvak" <plitvak@attbi.com> wrote in message
news:b0k00r$hhq$1@is.intellij.net...

The problem is actually as simple as I describe. No funny extensions no
path. Strange.

>

"Robert Gibson" <robbie_usenet@yahoo.co.uk> wrote in message
news:b0jpns$21i$1@is.intellij.net...

Peter Litvak wrote:

Hello,

>

When saying doesn't support I meant that if you have in your JSP

something

like:
<%@ include file="xxx.jsp" %>

>

and in the xxx.jsp you define some variables then these variables

marked

as

unknown in the page that includes xxx.jsp.

>
>
>

Thank you

>
>
Make sure that your included file has a recognised JSP file extension
(IDE settings - File Types). Standard types are .jsp, .jspf & .jsf but
you may need to defined your own if you stray from the path.

>

Robbie (who just got bitten by trying to include a .notjsp file which
really was!)

>

>
>


0
Comment actions Permalink

Do you mind elaborating this config issue? Might help others.

0
Comment actions Permalink

It was really the case of RTFM :)
I missed the part in the help that actually says that you have to setup
WebApp directory correctly.

"chandra kuchibhotla" <jiveadmin@jetbrains.com> wrote in message
news:6645273.1043175506904.JavaMail.jrun@is.intellij.net...

Do you mind elaborating this config issue? Might help others.



0

Please sign in to leave a comment.