Sorry forgot to add this code to the fray, here is the ActionForm class where I have the get and set methods
private void setXMLQueryString(String sXML)
{
this.XMLQueryString = sXML;
}
public String getXMLQueryString()
{
return XMLQueryString;
}
Tim Bachta
Information Technology
MC 48
816-997-7137
"Nelson, Laird"
<Laird.Nelson@FMR To: "'Struts Users Mailing List'"
<[EMAIL PROTECTED]>
.COM> cc:
Subject: RE: JavaScript / struts
submit problems
01/28/2003 11:36
AM
Please respond to
"Struts Users
Mailing List"
> -----Original Message-----
> From: Mei Zhu [mailto:[EMAIL PROTECTED]]
>
> In your jsp page, the hidden field should be:
> <html:hidden property="xMLQueryString"/> The first character
> of the property
> name should be lower case.
No; see
http://java.sun.com/j2se/1.4.1/docs/api/java/beans/Introspector.html#decapit
alize(java.lang.String) for the exception cases, of which this is one.
"XMLQueryString" will result in a getXMLQueryString() and a
setXMLQueryString(String) method being sought. If either is not present,
then the BeanUtils code will skip it.
Cheers,
Laird
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

