RE: [SOLVED] struts-config xml file throws a java exception

2006-06-09 Thread Olivier Bex
Yes it did... Regards, Olivier -Message d'origine- De : Dave Newton [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 juin 2006 13:31 À : Struts Users Mailing List Objet : Re: [SOLVED] struts-config xml file throws a java exception Olivier Bex wrote: > The problem is solved. Th

Re: [SOLVED] struts-config xml file throws a java exception

2006-06-09 Thread Dave Newton
Olivier Bex wrote: > The problem is solved. The struts-config file had no declaration of the data > source type to use. So it took by default > "org.apache.struts.action.dataSources" instead of : > "org.apache.struts.util.GenericDataSource" > ?! Fixing that removed the error regarding your el

[SOLVED] struts-config xml file throws a java exception

2006-06-09 Thread Olivier Bex
 : Samere, Adam J [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 16:01 À : Struts Users Mailing List Objet : RE: struts-config xml file throws a java exception Does your struts-config have: ... It didn't in the example you provided earlier. -Original Message- Fr

RE: struts-config xml file throws a java exception

2006-06-08 Thread Samere, Adam J
Does your struts-config have: ... It didn't in the example you provided earlier. -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 9:58 AM To: 'Struts Users Mailing List' Subject: RE: struts-config xml file throws a

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
iling List Objet : Re: struts-config xml file throws a java exception Olivier Bex wrote: > LoginRequired is referenced in the action tags of each action. > I may have missed it, but did you provide the source for your custom ActionMapping class that you are expecting the element to ac

RE: struts-config xml file throws a java exception

2006-06-08 Thread Samere, Adam J
in 2006 14:10 À : Struts Users Mailing List Objet : RE: struts-config xml file throws a java exception Where is loginRequired referenced in your struts-config document? Perhaps I misunderstood your problem. -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: struts-config xml file throws a java exception

2006-06-08 Thread Dave Newton
Wendy Smoak wrote: > I don't see where you've told the framework to use your custom > ActionMapping class. What she said ;) Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts-config xml file throws a java exception

2006-06-08 Thread Wendy Smoak
On 6/8/06, Olivier Bex <[EMAIL PROTECTED]> wrote: LoginRequired is referenced in the action tags of each action. ... (earlier) EmployesActionMapping employesMapping = (EmployesActionMapping)mapping; // Cette action nécessite-t-elle l'identification de l'util

Re: struts-config xml file throws a java exception

2006-06-08 Thread Dave Newton
Olivier Bex wrote: > LoginRequired is referenced in the action tags of each action. > I may have missed it, but did you provide the source for your custom ActionMapping class that you are expecting the element to act upon? (If you didn't, or haven't sub-classed ActionMapping or aren't using so

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
: RE: struts-config xml file throws a java exception Where is loginRequired referenced in your struts-config document? Perhaps I misunderstood your problem. -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 4:04 AM To: 'Struts Users Mailing Lis

RE: struts-config xml file throws a java exception

2006-06-08 Thread Samere, Adam J
("errors.password.required")); } if ( (username == null ) || (username.length() == 0) ) { errors.add("username", new ActionMessage("errors.username.required")); } return errors; } } -Message d'origine- De :

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
rd.required")); } if ( (username == null ) || (username.length() == 0) ) { errors.add("username", new ActionMessage("errors.username.required")); } return errors; } } -Message d'origine- De : Samere,

RE: struts-config xml file throws a java exception

2006-06-08 Thread Olivier Bex
juin 2006 18:50 À : Struts Users Mailing List Cc : 'Struts Users Mailing List' Objet : RE: struts-config xml file throws a java exception I didn't even think was available on action mappings in 1.1, but maybe I'm not remembering right. Anyway, my understanding of is that it

RE: struts-config xml file throws a java exception

2006-06-07 Thread Samere, Adam J
Can you post the form bean declaration from struts config and the ActionForm subclass? -Original Message- From: Olivier Bex [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 12:51 PM To: 'Struts Users Mailing List' Subject: RE: struts-config xml file throws a java exc

RE: struts-config xml file throws a java exception

2006-06-07 Thread Olivier Bex
t. Regards, Olivier. -Message d'origine- De : Ed Griebel [mailto:[EMAIL PROTECTED] 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

RE: struts-config xml file throws a java exception

2006-06-07 Thread Frank W. Zammetti
at Users List > Cc : user@struts.apache.org > Objet : RE: struts-config xml file throws a java exception > > Olivier, what version of Struts are you using? > > Frank > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.

Re: struts-config xml file throws a java exception

2006-06-07 Thread Ed Griebel
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

RE: struts-config xml file throws a java exception

2006-06-07 Thread Olivier Bex
I'm using struts 1.1 with eclipse 3.1 and myeclipseIDE -Message d'origine- De : Frank W. Zammetti [mailto:[EMAIL PROTECTED] Envoyé : mercredi 7 juin 2006 18:39 À : Tomcat Users List Cc : user@struts.apache.org Objet : RE: struts-config xml file throws a java exception Oli

RE: struts-config xml file throws a java exception

2006-06-07 Thread Frank W. Zammetti
e="true"> > > > > > - name="employeForm" scope="request" validate="false"> > > > > > - [...] > > > > > -Message d'origine- > De : Frank W. Zammetti [mailto:[EMAIL PR

struts-config xml file throws a java exception

2006-06-07 Thread Olivier Bex
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