Clark-
Ant has not upgraded the JSPC task for the JSP Servlet 2.0 spec as of yet to
quote
"There are known problems with Tomcat 5.x that won't get fixed in Ant,
please use Tomcat's jspc task instead."
The latest version of Tomcat 5.x supports JSP Servlet 2.0 via the Jasper2
task from Tomcat
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation
if you are implementing your webapp with JBoss 2.4 on Tomcat 5.x
http://www.cowsultants.com/phpBB/posting.php?mode=topicreview&t=699&sid=2947bd47cbfdb129abe867ec8bbb9e44
HTH,
Martin-
617-852-7822
----- Original Message -----
From: "Clark Wright" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, September 13, 2005 9:35 AM
Subject: Struts, JSP 2.0 and Jasper2 compiler error
I am running into a class hierarchy mismatch with taglibs and jasper2 out
of tomcat 5.5 and precompiling jsp pages built with the struts taglibs.
I have:
Jboss AS 4.0.2
Tomcat 5.5 (bundled)
Struts 1.2.4
The error I am getting at compile time is:
[javac]
F:\Sandboxes\Projects\rainier-1\cudgel\tmp\jsp-java\com\lqmi\admin\contact_jsp.java:119:
_jspx_meth_html_link_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
in com.lqmi.admin.contact_jsp
cannot be applied to
(org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
The issue is that JBoss AS 4/Tomcat 5.5 is conforming to JSP 2.0.
Struts confirms to JSP 1.x.
In 2.0, a new base interface is defined (JspTag) for all tag classes, and
that is causing the compile error.
Has anyone run into this, and if so, what is the work around?
Thank you.
- clark.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]