struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pc leung <pingcheu...@gmail.com>
Subject Re: java.lang.ClassCastException: com.user.struts.form.UserSystemForm
Date Tue, 10 Jan 2006 14:24:44 GMT
Thank you for reading and attention.

I have written an error handler which simplies the error message.
When the error handler is removed from struts-config.xml
I find error comes from another action class.

Thank you very much indeed.


On 1/10/06, brenmcguire@tariffenet.it <brenmcguire@tariffenet.it> wrote:
> pc leung ha scritto:
>
> >               <form-bean name="userSystemForm"
> type="com.user.struts.form.UserSystemForm" />
> >
> >
> >public class UserSystemForm extends ActionForm  implements Serializable {
> >
> >       // --------------------------------------------------------- Instance
> Variables
> >    private String systemHref;
> >    private String messageKey;
> >    private String method;
> >       private String usernm;
> >
> >       public String getMessageKey() {
> >               return messageKey;
> >
> >
>
> That's strange... Would you please to post also the stack trace of the
> exception? Maybe the error is something else.
> By the way... maybe it's a stupid question but the class UserSystemForm is
> in the "com.user.struts.form" package, right?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message