You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/09 14:31:42 UTC

DO NOT REPLY [Bug 31140] New: - The getter method of org.apache.struts.taglib.html.BEAN cause intermetent problem

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31140>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31140

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

           Summary: The getter method of org.apache.struts.taglib.html.BEAN
                    cause intermetent problem
           Product: Struts
           Version: 1.1 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Struts-Faces Library
        AssignedTo: dev@struts.apache.org
        ReportedBy: alex.suo@coresolutions.com


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org