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. 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  element???

Dave



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



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

Dave



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

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

Thanks for your help...

-Message d'origine-
De : 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-
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 java exception

Here is my Actionmapping class using the property loginRequired : 

package com.ex.struts;

import org.apache.struts.action.ActionMapping;

public class EmployesActionMapping extends ActionMapping {

  private static final long serialVersionUID = 1L;
  protected boolean loginRequired = false;

  public void setLoginRequired(boolean loginRequired) {

this.loginRequired = loginRequired;
  }

  public boolean getLoginRequired() {

return loginRequired;
  }
}

-Message d'origine-
De : Dave Newton [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006
15:19 À : Struts Users Mailing 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
act upon? (If you didn't, or haven't sub-classed ActionMapping or aren't
using somebody else's custom ActionMapping, consider this a hint ;)

Dave



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


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]