RE: Please Help - ClassCastException

2004-01-05 Thread Richard Hightower
. Comments below look for * -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 10:18 PM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException Allow me to ask three more questions: 1. If I want to reset some specific

RE: Please Help - ClassCastException

2004-01-04 Thread Caroline Jen
04, 2004 1:42 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I think that there are a lot more mistakes in my code than I originally thought. The root of the problem is that I do not know how to use DynaValidatorForm. If you could help me

RE: Please Help - ClassCastException

2004-01-04 Thread Joe Hertz
this helps, -Joe -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 1:42 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I think that there are a lot more mistakes in my code

Re: Please Help - ClassCastException

2004-01-04 Thread Pedro Salgado
On 04/01/2004 05:04, Caroline Jen [EMAIL PROTECTED] wrote: Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I do not fully follow what I should check in the struts-config.xml file. And should I use name=postForm with lowercase 'p'

Re: Please Help - ClassCastException

2004-01-04 Thread Martin Gainty
31, 1969 7:05 PM Subject: Re: Please Help - ClassCastException On 04/01/2004 05:04, Caroline Jen [EMAIL PROTECTED] wrote: Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I do not fully follow what I should check in the struts

RE: Please Help - ClassCastException

2004-01-04 Thread Caroline Jen
: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 2:46 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I am still confused... I have a jsp that provides text fields for user to fill out information. All the information is passed

Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
The statement shown below encountered a ClassCastException: PostForm postForm = ( PostForm )form; I cannot figure out the reason. Please help. Allow me to show more code of the class where the exception occurred: ... import org.apache.struts.action.Action; import

Re: Please Help - ClassCastException

2004-01-03 Thread Pedro Salgado
On your struts config file check if the form bean for StoreMessage action is of type pkg.pkg.PostForm and if the action name is pointing to the correct form bean... It also seems to be missing the import of the PostForm on your action class. Pedro Salgado On 04/01/2004 03:22, Caroline Jen

Re: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I do not fully follow what I should check in the struts-config.xml file. And should I use name=postForm with lowercase 'p' or uppercase 'P'? In my struts-config.xml file, I have:

RE: Please Help - ClassCastException

2004-01-03 Thread David Friedman
) PropertyUtils.getSimpleProperty(form, receiver); Regards, David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 11:04 PM To: Struts Users Mailing List Subject: Re: Please Help - ClassCastException Thank you for trying to help. I have added import

RE: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 11:04 PM To: Struts Users Mailing List Subject: Re: Please Help - ClassCastException Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I

RE: Please Help - ClassCastException

2004-01-03 Thread Joe Hertz
: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 1:42 AM To: Struts Users Mailing List Subject: RE: Please Help - ClassCastException I think that there are a lot more mistakes in my code than I originally thought. The root of the problem is that I do not know how to use