1 Reply Latest reply on Aug 4, 2003 10:23 PM by tsangcn

    taglib caching in JBoss 3.2.1 (with Jetty 4.2.9) corrupted m

    tsangcn

      taglib caching in JBoss 3.2.1 (with Jetty 4.2.9) corrupted my application

      I am using Struts 1.0.2
      Some of my JSP contains 2 forms defined as follows

      <html:form action="/userMaster">
      <html:text ......
      .....
      </html:form>
      <html:form action="/userSerachList">
      <html:text .....
      .....
      </html:form>

      The 2 forms use 2 different struts ActionForm object

      In JBoss 3.0.7, it runs OK.
      In JBoss 3.2.1 and JBoss 3.2.2RC1, the page failed.
      I have traced the tag and found that because of the taglib caching in JBoss 3.2.1 and JBoss 3.2.2,
      when the taglib is rendering the second form, the attribute values for the second form is not rest,
      so struts is using the first ActionForm object when rendering the second form (it should use second ActionForm object).
      So the page failed

      Please help.
      CN