Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2204

The getter method of org.apache.struts.taglib.html.BEAN cause intermetent problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.1.0
    • None
    • None
    • Operating System: Solaris
      Platform: Sun
    • 31140

    Description

      Hi guys,

      I am not sure if this is a problem but this does happen intermetently in the
      system we implemented for a bank.

      For some unknown reason, a programmer wrote some forms like this:

      <html:form name="FormName" action="/formAction" type="FormClass">
      <html:hidden property="action"/>
      ......

      Then sometimes the following exception will be triggered unpredicatably in the
      pages, making the page unable to be displayed at client side:

      2004-08-25 15:27:15,175 [jcp-210] ERROR abc - Unknown error:
      javax.servlet.jsp.JspException: No getter method for property action of bean
      org.apache.struts.taglib.html.BEAN
      at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
      at org.apache.struts.taglib.html.BaseFieldTag.doStartTag
      (BaseFieldTag.java:188)

      I have observed this in various pages and I investigated and believed this may
      not be the problem of the pages; the only possible cause is that we have some
      hidden field also called "action" in the form, making it with the same name of
      the form action property. But I am not sure if this is the cause as it only
      happens now and then (although quite a headache). Please try to see if this is
      the problem of the struts library or it is the problem of our program... and
      thank you very much.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.suo@coresolutions.com Alex Suo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: