Help! I have two fields, detail and prospectAddress, that are both text
areas on a form. I can't figure out why one of them (detail) works fine,
and prospectAddress does not.
They are both defined in struts-config:
<form-bean name="contactForm"
type="edu.asu.vpia.struts.ContactForm">
<form-property name="prospectAddress" type="java.lang.String"/>
<form-property name="detail" type="java.lang.String"/>
...
Should these be String[] instead? Detail has been working fine like this
for several months, but now prospectAddress is causing this error:
11:26:21,575 - DEBUG org.apache.commons.beanutils.BeanUtils -
copyProperty(ContactImpl: [key=9976, checksum=1782540], detail, A long
detailed description on multiple lines.
The second line.
The third paragraph.)
11:26:21,575 - DEBUG org.apache.commons.beanutils.BeanUtils -
copyProperty(ContactImpl: [key=9976, checksum=1782540], prospectAddress, 123
State St
Tempe, AZ 12345)
11:26:21,575 - WARN org.apache.struts.action.RequestProcessor - Unhandled
Exception thrown: class java.lang.IllegalArgumentException
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management