struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samere, Adam J" <asam...@paychex.com>
Subject RE: struts-config xml file throws a java exception
Date Wed, 07 Jun 2006 17:04:07 GMT
Can you post the form bean declaration from struts config and the ActionForm subclass? 

-----Original Message-----
From: Olivier Bex [mailto:bolivier@e-optimit.com] 
Sent: Wednesday, June 07, 2006 12:51 PM
To: 'Struts Users Mailing List'
Subject: RE: struts-config xml file throws a java exception

Hi Ed,

You've guessed right for the definition of the form bean and the property "loginRequired".
Unfortunately for you, I do have a class implementing loginRequired, and do have setter and
getter method.

This is why I don't understand the exception thrown by tomcat.

Regards,
Olivier.

-----Message d'origine-----
De : Ed Griebel [mailto:edgriebel@gmail.com] Envoyé : mercredi 7 juin 2006 18:43 À :
Struts Users Mailing List Objet : Re: struts-config xml file throws a java exception

Hi Oliver-

I'm going to guess that you have defined a form bean and properties in your form bean, and
one of these properties is called "loginRequired".
I'm also going to guess that you don't have a setter method for this property with the method
signature of 'public void setLoginRequired(String x)'

-ed

On 6/7/06, Olivier Bex <bolivier@e-optimit.com> wrote:
> Hi everyone,
>
>
>
> When I start Tomcat 5.0.28, it says that I have a parsing error in my 
> struts-config.xml, but I think it's not.
>
> The log file throws a java.lang.NoSuchMethodException : bean has no
property
> named loginRequired
>
>
>
> Regards,
>
>
>
> Olivier BEX
>
>
>
>
>

---------------------------------------------------------------------
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


-----------------------------------------
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.

Thank you. Paychex, Inc.


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


Mime
View raw message