Its sure is a weird problem. It seems that whenever I add a property to an existing DynaAction form then it throws the IllegalArgumentException. So what I did was to create a new DynaForm with the existing properties and the additional one I want to add. And Eureka it works without a glitch. But the worry is why in the world is that problem occuring in the first place. It defies the very definition of a DynaActioForm...... Is it some kind of bug?????
Anirudh Jayanth SysArris Software 120A, Elephant Rock Road, 3rd Block, Jayanagar, Bangalore - 560011 Tel: 6655165 / 052 [ ext - 244 ] [EMAIL PROTECTED] -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 10:22 PM To: Struts Users Mailing List Subject: RE: DynaActionForm IllegalArgumentException > From: Anirudh Jayanth [mailto:[EMAIL PROTECTED] > I wish Wendy would have won the bet. Unfortunately that too doesn't > work. Actually mNum used to be messageNumber when I added it the first > time. I took the struts-blank webapp, and pasted in your <form-bean> definition. I added the name to the <action>: <action path="/Welcome" name="exportForm" forward="/pages/Welcome.jsp"/> And a form to Welcome.jsp: <html:form action="/Welcome"> <html:text property="messageNumber"/> <html:text property="mSafetyReportId"/> <html:submit/> </html:form> Visiting http://localhost:8080/struts-blank does not present any problems. With the <form-bean> definition you posted in your last message, which field is it complaining about? When/where do you see the error? Can you force the error to occur in a minimal webapp? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

