Can't get IntelliJ to handle jsp:useBean and jsp:getProperty to work properly togethe

when I do <jsp:useBean id="X" scope="request" /> followed by <jsp:getProperty name="X" property="name" /> the X in jsp:getProperty shows up in red?

Why is that?

Is there something about jsp syntax that I don't understand? Or is there some type of configuration that I need to do. The way intellJ handles "Resources" (needing to be mapped) comes to mind.

Thanks.

3 comments
Comment actions Permalink

Is your project configured as a web module? If so, is your web resource
directory set to your webroot?

Norris Shelton
Sun Certified Java Programmer




Laran Evans wrote:

>when I do <jsp:useBean id="X" scope="request" /> followed by <jsp:getProperty name="X" property="name" /> the X in jsp:getProperty shows up in red?
>
>Why is that?
>
>Is there something about jsp syntax that I don't understand? Or is there some type of configuration that I need to do. The way intellJ handles "Resources" (needing to be mapped) comes to mind.
>
>Thanks.

>

0
Comment actions Permalink

No, it's not. My project is basically an EAR structure. There are many web-apps under the EAR.

Is it possible to structure an EAR file project which automagically maps each of the web-apps properly? I seem to remember not doing this because I got hung up on something with EJBs during the project setup. Don't remember for sure though.

0
Comment actions Permalink

Sorry, no experience with .ear files ... yet

Maybe Robert will chime in.

Norris Shelton
Sun Certified Java Programmer




Laran Evans wrote:

>No, it's not. My project is basically an EAR structure. There are many web-apps under the EAR.
>
>Is it possible to structure an EAR file project which automagically maps each of the web-apps properly? I seem to remember not doing this because I got hung up on something with EJBs during the project setup. Don't remember for sure though.

>

0

Please sign in to leave a comment.