RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W


Thanks Raffy !!
Everything in Ok now !!!
Thanks again !!!

>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: DynaValidatorForm and java.lang.NullPointerException
>Date: Tue, 11 Jun 2002 12:55:01 -0700
>
>
>try adding the dynamic="true" attribute in the  entry
>
>  as in
>
>type
>="org.apache.struts.validator.DynaValidatorForm"
> dynamic="true">
>
>
>
>
>
>"William W" <[EMAIL PROTECTED]> on 06/11/2002 12:47:45 PM
>
>Please respond to "Struts Users Mailing List"
>   <[EMAIL PROTECTED]>
>
>To:   [EMAIL PROTECTED]
>cc:
>Subject:  RE: DynaValidatorForm and java.lang.NullPointerException
>
>
>
> >Can you post your struts-config.xml entries?
>
>Sure !
>My action just have a forward to test.
>
>struts-config.xml
>--
>
>type
>="org.apache.struts.validator.DynaValidatorForm">
>   
>   
> 
>
>
>
>
>
> type="com.myproject.teste.LogonAction"
>name="logonForm"
>scope="request"
>   validate="true"
>input="/index.jsp">
>   
> 
>
>
> 
>
>
>-
>
>validator.xml
>-
>
>   
>depends="required">
>   
>  
>   
>
>
>
>
>
>
>_
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe, e-mail:   <
>mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <
>mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
>**
>Please Note:
>The information in this E-mail message, and any files transmitted
>with it, is confidential and may be legally privileged.  It is
>intended only for the use of the individual(s) named above.  If you
>are the intended recipient, be aware that your use of any confidential
>or personal information may be restricted by state and federal
>privacy laws.  If you, the reader of this message, are not the
>intended recipient, you are hereby notified that you should not
>further disseminate, distribute, or forward this E-mail message.
>If you have received this E-mail in error, please notify the sender
>and delete the material from any computer.  Thank you.
>**
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread Raffy_Lata


try adding the dynamic="true" attribute in the  entry

 as in

 





"William W" <[EMAIL PROTECTED]> on 06/11/2002 12:47:45 PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:
Subject:  RE: DynaValidatorForm and java.lang.NullPointerException



>Can you post your struts-config.xml entries?

Sure !
My action just have a forward to test.

struts-config.xml
--

 
  
  







  






-

validator.xml
-

  
 
  
 
  






_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


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






**
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged.  It is
intended only for the use of the individual(s) named above.  If you
are the intended recipient, be aware that your use of any confidential
or personal information may be restricted by state and federal
privacy laws.  If you, the reader of this message, are not the
intended recipient, you are hereby notified that you should not
further disseminate, distribute, or forward this E-mail message.
If you have received this E-mail in error, please notify the sender
and delete the material from any computer.  Thank you.
**




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




RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W


>Can you post your struts-config.xml entries?

Sure !
My action just have a forward to test.

struts-config.xml
--


  
  







  






-

validator.xml
-

  
 

 
  






_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread Raffy_Lata


Can you post your struts-config.xml entries?





"William W" <[EMAIL PROTECTED]> on 06/11/2002 12:34:40 PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:
Subject:  RE: DynaValidatorForm and java.lang.NullPointerException



Hi Jason,
I think that the problem is before the validation.
This is my index.jsp page where we have the java.lang.NullPointerException.

<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>









  
ERROR:  Application resources not loaded -- check servlet container
logs for error messages.
  







  
 
 

  
  

  
  
  
 

  
  

  
  
  

  
   
 

  
  






>From: "Rosenblum, Jason" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: DynaValidatorForm and java.lang.NullPointerException
>Date: Tue, 11 Jun 2002 15:16:46 -0400
>
>make sure that you are using the ActionMapping name to name your forms in
>your validation.xml instead of using the action form name.
>
>~Jason
>
>-Original Message-
>From: William W [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 3:15 PM
>To: [EMAIL PROTECTED]
>Subject: DynaValidatorForm and java.lang.NullPointerException
>
>
>Hi ,
>
>When I configure my form to be a DynaValidatorForm I have the
>java.lang.NullPointerException error, but if I use a DynaActionForm,
>everyting do ok but with no validation.
>What Am I doing wrong ?
>
>Thanks,
>William.
>
>_
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>




_
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com


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






**
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged.  It is
intended only for the use of the individual(s) named above.  If you
are the intended recipient, be aware that your use of any confidential
or personal information may be restricted by state and federal
privacy laws.  If you, the reader of this message, are not the
intended recipient, you are hereby notified that you should not
further disseminate, distribute, or forward this E-mail message.
If you have received this E-mail in error, please notify the sender
and delete the material from any computer.  Thank you.
**




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




RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W


Hi Jason,
I think that the problem is before the validation.
This is my index.jsp page where we have the java.lang.NullPointerException.

<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>









  
ERROR:  Application resources not loaded -- check servlet container
logs for error messages.
  







  
 

  


  

 
 

  


  

 
 
   
 
   
 
   
 
  






>From: "Rosenblum, Jason" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: DynaValidatorForm and java.lang.NullPointerException
>Date: Tue, 11 Jun 2002 15:16:46 -0400
>
>make sure that you are using the ActionMapping name to name your forms in
>your validation.xml instead of using the action form name.
>
>~Jason
>
>-Original Message-
>From: William W [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 3:15 PM
>To: [EMAIL PROTECTED]
>Subject: DynaValidatorForm and java.lang.NullPointerException
>
>
>Hi ,
>
>When I configure my form to be a DynaValidatorForm I have the
>java.lang.NullPointerException error, but if I use a DynaActionForm,
>everyting do ok but with no validation.
>What Am I doing wrong ?
>
>Thanks,
>William.
>
>_
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




RE: DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread Rosenblum, Jason

make sure that you are using the ActionMapping name to name your forms in
your validation.xml instead of using the action form name.

~Jason

-Original Message-
From: William W [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 3:15 PM
To: [EMAIL PROTECTED]
Subject: DynaValidatorForm and java.lang.NullPointerException


Hi ,

When I configure my form to be a DynaValidatorForm I have the 
java.lang.NullPointerException error, but if I use a DynaActionForm, 
everyting do ok but with no validation.
What Am I doing wrong ?

Thanks,
William.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

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




DynaValidatorForm and java.lang.NullPointerException

2002-06-11 Thread William W

Hi ,

When I configure my form to be a DynaValidatorForm I have the 
java.lang.NullPointerException error, but if I use a DynaActionForm, 
everyting do ok but with no validation.
What Am I doing wrong ?

Thanks,
William.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: