Validation Warning with Spring Roo and jsp:directive.include

I'm experimenting with Maia using Spring Roo (a convention-over-configuration framework that uses aspectJ .aj files and AOP to build applications).

When I generate the view JSPs, IntelliJ is complaining about the <jsp:directive.include> tag.  Now, I am not deep in JSP-fu, but I did some searching around and see the XML syntax for jsp includes is now:

<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>

I have just seen <jsp:include page="" /> myself, so this is new to me.  The tag gives an error, and the included taglibs in includes.jsp aren't found by the IDE.  The error/warning I get is:

"Tag should not be used in jsp with standard syntax"

And both jsp:directive.include tags are highlighted red.

Is this something we are getting configured incorrectly or something that Maia either should support or doesn't support yet?

BTW, Maia looks great so far, as it properly recognized my .aj files right off the bat.  Can't wait to experiment with Flex and Grails support.

Ken

2 comments
Comment actions Permalink

Your jsp files seem to use XML syntax (aka JSPX) and Idea supports them
as JSPx file type so remapping of jsp extension to jspx file type cab be
needed.

Ken Rimple wrote:

I'm experimenting with Maia using Spring Roo (a convention-over-configuration framework that uses aspectJ .aj files and AOP to build applications).

When I generate the view JSPs, IntelliJ is complaining about the <jsp:directive.include> tag. Now, I am not deep in JSP-fu, but I did some searching around and see the XML syntax for jsp includes is now:

<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>

I have just seen <jsp:include page="" /> myself, so this is new to me. The tag gives an error, and the included taglibs in includes.jsp aren't found by the IDE. The error/warning I get is:

"Tag should not be used in jsp with standard syntax"

And both jsp:directive.include tags are highlighted red.

Is this something we are getting configured incorrectly or something that Maia either should support or doesn't support yet?

BTW, Maia looks great so far, as it properly recognized my .aj files right off the bat. Can't wait to experiment with Flex and Grails support.

Ken

---
Original message URL: http://www.jetbrains.net/devnet/message/5239789#5239789



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.