JSP 2.0

Hi,
I am trying to introduce JSP 2. But IDEA does not recognise the syntax. Using Tomcat 5, I have a .tsg in:

WEB-INF/tags/file.tag

and my JSP that references it. Does IntelliJ not support JSP 2, or is my syntax wrong? (below)

thanks

Paul.

JSP:

Wrapped Content

.tag:

Header

]]>

Attributes - $, $, $

Footer

]]>


1 comment
Comment actions Permalink

Should be coming in IDEA 5
Steve

Paul wrote:

Hi,
I am trying to introduce JSP 2. But IDEA does not recognise the syntax. Using Tomcat 5, I have a .tsg in:

WEB-INF/tags/file.tag

and my JSP that references it. Does IntelliJ not support JSP 2, or is my syntax wrong? (below)

thanks

Paul.

JSP:

<%@ taglib uri="" prefix="tags" tagdir="/WEB-INF/tags" %>
<tags:wrapper a="1" b="2" c="3">
<p> Wrapped Content </p>
</tags:wrapper>

tag:

<%@ tag body-content="scriptless" %>

<%@ attribute name="a" required="true" %>
<%@ attribute name="b" required="true" %>
<%@ attribute name="c" required="true" %>

<p> Header </p>

<jsp:doBody/>

<p> Attributes - $, $, $ </p>

<p> Footer </p>

0

Please sign in to leave a comment.