I'm getting this error message while doing the submit of a form with
java script. I use a <html:button> tag, and define the onclick event
doing something like this:

form.action=anAction;
form.submit();

- anAction is a string indicating the action.
- form is the one I indicate in the styleId property of the <html:form> tag.

The trace of de exception begins with:

[2/10/05 14:09:20:953 CEST] 521a521a WebGroup      E SRVE0026E: [Error
de servlet]-[BeanUtils.populate]: java.lang.IllegalArgumentException:
No bean specified
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.Throwable.<init>(Throwable.java:73)
        at 
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java)
        at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java)
        at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
        at 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

...

Ah, the form object in javascript is ok, becuase I can take the fields
and display them with an alert window. I also think that the action is
ok, because if it isn't, I get a 404 error, while i'm getting a 500
error. There might be something that is doing something to my form
after doing form.submit().




--
Un cordial saludo,

     José Martínez Benavides

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to