1 Reply Latest reply on Mar 9, 2005 3:51 PM by danl_thompson

    jsp won't compile in 3.2.6

    danl_thompson

      trying to move our app to 3.2.6 from 3.2.3 (tomcat 5 from 4).
      I've boiled the problem down to this simple example:

      <%@ page language="java" %>
      <%@ taglib uri="/tld/struts-html-el" prefix="html" %>

      <html:form action="/someAction">
      <html:hidden property="action" value="search" />
      </html:form>

      pre-compiling using the jasper in jbossweb-tomcat5.sar seems to generate bad code

      [javac] ...\example_jsp.java:89:
      _jspx_meth_html_hidden_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
      in org.apache.jsp.example_jsp cannot be applied to
      (org.apache.strutsel.taglib.html.ELFormTag,javax.servlet.jsp.PageContext)

      It seems to think that the hidden tag is a form tag or something? I've googled my eyes out and I can't find reference to this kind of problem anywhere.