RE: Anyone have the Struts Validator example working?

2001-06-05 Thread DeVincentiis Giustino

Hi, 
The Orion documentation about the load-on-startup states that the optional
contents of these element must be an integer indicating the order in which
the servlet should be loaded.
Then if you use values like 1 (ActionServlet) and 2 (ValidatorServlet) or
any different values you want, it should work fine.

Anyway you better update to Orion 1.5.2: the new stable release.

Giustino De Vincentiis 

-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Inviato: martedì 5 giugno 2001 23.05
A: [EMAIL PROTECTED]
Oggetto: RE: Anyone have the Struts Validator example working?


My findings with the following settings:

==
load-on-startup=0 or 1
web.xml's setting definition sequence:
  1. validator servlet 
  2. strut action servlet
==
All registration example -> javax.servlet.jsp.JspException: Cannot find
message resources under key org.apache.struts.action.MESSAGE
both change language example -> javax.servlet.jsp.JspException: Cannot find
global ActionForward for name registration

==
load-on-startup=0 or 1
web.xml's servlet definition sequence:
  1. strut action servlet
  2. validator servlet 
==
Registration Example -> input form can be displayed -> error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

Registration with Javascript Validation and Server Validation -> 
java.lang.NullPointerException
at
com.wintecinc.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascrip
tValidatorTag.java:174)

Multi-Part Registration Example with Javascript Validation and Server
Validation
java.lang.NullPointerException
at
com.wintecinc.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascrip
tValidatorTag.java:174)

Type Example validating some primitive numbers, a range on the integer, and
a date.  -> input form can be displayed -> error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

Both change language example -> input from with correct lang. can be
displayed -> error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

==
web.xml's servlet definition sequence:
  1. validator servletwith load-on-startup = 2
  2. strut action servlet with load-on-startup = 1
==

Everything works Fine 

Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:

500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line 9)
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

==
My Settings are as follow:
==
Orion: 1.5.2
[application.xml]
  
[default-web-site.xml]
  

validator.war: extracted from validator20010510.zip 
this war file is extracted and put in directory
"../../../../dev/share/struts-validator/validator/"

modify web.xml for load-on-startup value to 1 from 2 (already tried 0 too ->
same error) as follows:
  
  
validator
 
com.wintecinc.struts.action.ValidatorServlet

  config
  /WEB-INF/validation.xml


  debug
  2

1
  

  
  
action
org.apache.struts.action.ActionServlet

  application
 
com.wintecinc.struts.example.validator.ApplicationResources


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true

1
  

Am I missing sth?

Thanks in advance!

Chris

-Original Message-
From: Chuck St

RE: Anyone have the Struts Validator example working?

2001-06-05 Thread chris . chang

My findings with the following settings:

==
load-on-startup=0 or 1
web.xml's setting definition sequence:
  1. validator servlet 
  2. strut action servlet
==
All registration example -> javax.servlet.jsp.JspException: Cannot find
message resources under key org.apache.struts.action.MESSAGE
both change language example -> javax.servlet.jsp.JspException: Cannot find
global ActionForward for name registration

==
load-on-startup=0 or 1
web.xml's servlet definition sequence:
  1. strut action servlet
  2. validator servlet 
==
Registration Example -> input form can be displayed -> error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

Registration with Javascript Validation and Server Validation -> 
java.lang.NullPointerException
at
com.wintecinc.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascrip
tValidatorTag.java:174)

Multi-Part Registration Example with Javascript Validation and Server
Validation
java.lang.NullPointerException
at
com.wintecinc.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascrip
tValidatorTag.java:174)

Type Example validating some primitive numbers, a range on the integer, and
a date.  -> input form can be displayed -> error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

Both change language example -> input from with correct lang. can be
displayed -> error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

==
web.xml's servlet definition sequence:
  1. validator servletwith load-on-startup = 2
  2. strut action servlet with load-on-startup = 1
==

Everything works Fine 

Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:

500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line 9)
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

==
My Settings are as follow:
==
Orion: 1.5.2
[application.xml]
  
[default-web-site.xml]
  

validator.war: extracted from validator20010510.zip 
this war file is extracted and put in directory
"../../../../dev/share/struts-validator/validator/"

modify web.xml for load-on-startup value to 1 from 2 (already tried 0 too ->
same error) as follows:
  
  
validator
 
com.wintecinc.struts.action.ValidatorServlet

  config
  /WEB-INF/validation.xml


  debug
  2

1
  

  
  
action
org.apache.struts.action.ActionServlet

  application
 
com.wintecinc.struts.example.validator.ApplicationResources


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true

1
  

Am I missing sth?

Thanks in advance!

Chris

-Original Message-
From: Chuck Stern [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I'm using Orion 1.5.1 and Struts_Validator-20010510.jar.

It worked when I changed the load-on-startup value to 1 (or 0).  A value of
2 caused the mentioned error.  What was weird is that if I moved the
 definition for the validator below the strut action servlet
definition in the web.xml file I would get the following error:

java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)
 

RE: Anyone have the Struts Validator example working?

2001-06-05 Thread Chuck Stern

Did you try leaving your  value set to 2 on the action
servlet configuration?

Chuck

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 3:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:

500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line 9)
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

==
My Settings are as follow:
==
Orion: 1.5.2
[application.xml]
  
[default-web-site.xml]
  

validator.war: extracted from validator20010510.zip
this war file is extracted and put in directory
"../../../../dev/share/struts-validator/validator/"

modify web.xml for load-on-startup value to 1 from 2 (already tried 0 too ->
same error) as follows:
  
  
validator

com.wintecinc.struts.action.ValidatorServlet

  config
  /WEB-INF/validation.xml


  debug
  2

1
  

  
  
action
org.apache.struts.action.ActionServlet

  application

com.wintecinc.struts.example.validator.ApplicationResources


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true

1
  

Am I missing sth?

Thanks in advance!

Chris

-Original Message-
From: Chuck Stern [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I'm using Orion 1.5.1 and Struts_Validator-20010510.jar.

It worked when I changed the load-on-startup value to 1 (or 0).  A value of
2 caused the mentioned error.  What was weird is that if I moved the
 definition for the validator below the strut action servlet
definition in the web.xml file I would get the following error:

java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)
at
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.java:20
98)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

It looks different but it's really the same sore of error that struts was
having, it's just not expecting null though.

Chuck


-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


What version are you using and what did you change to
make it work.  Maybe I can fix it.  Does Orion only
accept '1' as a valid load-on-startup value?

2

David

--- Chuck Stern <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
>
> chuck
>
> -Original Message-
> From: DeVincentiis Giustino
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 7:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Anyone have the Struts Validator
> example working?
>
>
> I used the validator with Orion and had a similar
> behavior, the problem was
> in the web.xml.
> Check that the  values for the
> ActionServlet and for the
> ValidatorServlet are correct.
>
> Hope this help,
> Giustino De Vincentiis
>
> -Messaggio o

RE: Anyone have the Struts Validator example working?

2001-06-05 Thread chris . chang

I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:

500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line 9)
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

==
My Settings are as follow:
==
Orion: 1.5.2
[application.xml]
  
[default-web-site.xml]
  

validator.war: extracted from validator20010510.zip 
this war file is extracted and put in directory
"../../../../dev/share/struts-validator/validator/"

modify web.xml for load-on-startup value to 1 from 2 (already tried 0 too ->
same error) as follows:
  
  
validator
 
com.wintecinc.struts.action.ValidatorServlet

  config
  /WEB-INF/validation.xml


  debug
  2

1
  

  
  
action
org.apache.struts.action.ActionServlet

  application
 
com.wintecinc.struts.example.validator.ApplicationResources


  config
  /WEB-INF/struts-config.xml


  debug
  2


  detail
  2


  validate
  true

1
  

Am I missing sth?

Thanks in advance!

Chris

-Original Message-
From: Chuck Stern [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I'm using Orion 1.5.1 and Struts_Validator-20010510.jar.

It worked when I changed the load-on-startup value to 1 (or 0).  A value of
2 caused the mentioned error.  What was weird is that if I moved the
 definition for the validator below the strut action servlet
definition in the web.xml file I would get the following error:

java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)
at
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.java:20
98)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

It looks different but it's really the same sore of error that struts was
having, it's just not expecting null though.

Chuck


-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


What version are you using and what did you change to
make it work.  Maybe I can fix it.  Does Orion only
accept '1' as a valid load-on-startup value?

2

David

--- Chuck Stern <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
>
> chuck
>
> -Original Message-
> From: DeVincentiis Giustino
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 7:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Anyone have the Struts Validator
> example working?
>
>
> I used the validator with Orion and had a similar
> behavior, the problem was
> in the web.xml.
> Check that the  values for the
> ActionServlet and for the
> ValidatorServlet are correct.
>
> Hope this help,
> Giustino De Vincentiis
>
> -Messaggio originale-
> Da: Chuck Stern
> [mailto:[EMAIL PROTECTED]]
> Inviato: martedl 5 giugno 2001 12.26
> A: Struts-User
> Oggetto: Anyone have the Struts Validator example
> working?
>
>
> Hi,
>
> I would like to try David Winterfeldt's validator
&

RE: Anyone have the Struts Validator example working?

2001-06-05 Thread Chuck Stern

I'm using Orion 1.5.1 and Struts_Validator-20010510.jar.

It worked when I changed the load-on-startup value to 1 (or 0).  A value of
2 caused the mentioned error.  What was weird is that if I moved the
 definition for the validator below the strut action servlet
definition in the web.xml file I would get the following error:

java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)
at
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.java:20
98)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

It looks different but it's really the same sore of error that struts was
having, it's just not expecting null though.

Chuck


-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


What version are you using and what did you change to
make it work.  Maybe I can fix it.  Does Orion only
accept '1' as a valid load-on-startup value?

2

David

--- Chuck Stern <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
>
> chuck
>
> -Original Message-
> From: DeVincentiis Giustino
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 7:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Anyone have the Struts Validator
> example working?
>
>
> I used the validator with Orion and had a similar
> behavior, the problem was
> in the web.xml.
> Check that the  values for the
> ActionServlet and for the
> ValidatorServlet are correct.
>
> Hope this help,
> Giustino De Vincentiis
>
> -Messaggio originale-
> Da: Chuck Stern
> [mailto:[EMAIL PROTECTED]]
> Inviato: martedl 5 giugno 2001 12.26
> A: Struts-User
> Oggetto: Anyone have the Struts Validator example
> working?
>
>
> Hi,
>
> I would like to try David Winterfeldt's validator
> for a new project I'm
> working on but I can't seem to get it to work with
> Orion 1.51.  The default
> welcome page comes up and I can see the validator
> initializing.  I get the
> following when trying to go to the registration
> example page:
>
> javax.servlet.jsp.JspException: Cannot find message
> resources under key
> org.apache.struts.action.MESSAGE
>   at
>
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
>   at
>
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
>   at
>
/registration.jsp._jspService(/registration.jsp.java:72)
> (JSP
> page line
> 9)
>   at com.orionserver[Orion/1.5.1 (build
> 10410)].http.OrionHttpJspPage.service(Unknown
> Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._ah._pcd(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)].server.http.JSPServlet.service(Unknown
> Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._cob._xdd(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._cob._shc(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._iz._rzc(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._iz._ft(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._ip.run(Unknown Source)
>
> Any Ideas?
>
> Thanks,
> Chuck


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/



RE: Anyone have the Struts Validator example working?

2001-06-05 Thread David Winterfeldt

What version are you using and what did you change to
make it work.  Maybe I can fix it.  Does Orion only
accept '1' as a valid load-on-startup value?

2

David

--- Chuck Stern <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
> 
> chuck
> 
> -Original Message-
> From: DeVincentiis Giustino
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 7:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Anyone have the Struts Validator
> example working?
> 
> 
> I used the validator with Orion and had a similar
> behavior, the problem was
> in the web.xml.
> Check that the  values for the
> ActionServlet and for the
> ValidatorServlet are correct.
> 
> Hope this help,
> Giustino De Vincentiis
> 
> -Messaggio originale-
> Da: Chuck Stern
> [mailto:[EMAIL PROTECTED]]
> Inviato: martedì 5 giugno 2001 12.26
> A: Struts-User
> Oggetto: Anyone have the Struts Validator example
> working?
> 
> 
> Hi,
> 
> I would like to try David Winterfeldt's validator
> for a new project I'm
> working on but I can't seem to get it to work with
> Orion 1.51.  The default
> welcome page comes up and I can see the validator
> initializing.  I get the
> following when trying to go to the registration
> example page:
> 
> javax.servlet.jsp.JspException: Cannot find message
> resources under key
> org.apache.struts.action.MESSAGE
>   at
>
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
>   at
>
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
>   at
>
/registration.jsp._jspService(/registration.jsp.java:72)
> (JSP
> page line
> 9)
>   at com.orionserver[Orion/1.5.1 (build
> 10410)].http.OrionHttpJspPage.service(Unknown
> Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._ah._pcd(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)].server.http.JSPServlet.service(Unknown
> Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._cob._xdd(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._cob._shc(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._iz._rzc(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._iz._ft(Unknown Source)
>   at com.evermind[Orion/1.5.1 (build
> 10410)]._ip.run(Unknown Source)
> 
> Any Ideas?
> 
> Thanks,
> Chuck


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



RE: Anyone have the Struts Validator example working?

2001-06-05 Thread Chuck Stern

Thanks, that worked.

chuck

-Original Message-
From: DeVincentiis Giustino [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 7:06 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I used the validator with Orion and had a similar behavior, the problem was
in the web.xml.
Check that the  values for the ActionServlet and for the
ValidatorServlet are correct.

Hope this help,
Giustino De Vincentiis

-Messaggio originale-
Da: Chuck Stern [mailto:[EMAIL PROTECTED]]
Inviato: martedì 5 giugno 2001 12.26
A: Struts-User
Oggetto: Anyone have the Struts Validator example working?


Hi,

I would like to try David Winterfeldt's validator for a new project I'm
working on but I can't seem to get it to work with Orion 1.51.  The default
welcome page comes up and I can see the validator initializing.  I get the
following when trying to go to the registration example page:

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line
9)
at com.orionserver[Orion/1.5.1 (build
10410)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ah._pcd(Unknown Source)
at com.evermind[Orion/1.5.1 (build
10410)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

Any Ideas?

Thanks,
Chuck



RE: Anyone have the Struts Validator example working?

2001-06-05 Thread DeVincentiis Giustino

I used the validator with Orion and had a similar behavior, the problem was
in the web.xml.
Check that the  values for the ActionServlet and for the
ValidatorServlet are correct.

Hope this help,
Giustino De Vincentiis

-Messaggio originale-
Da: Chuck Stern [mailto:[EMAIL PROTECTED]]
Inviato: martedì 5 giugno 2001 12.26
A: Struts-User
Oggetto: Anyone have the Struts Validator example working?


Hi,

I would like to try David Winterfeldt's validator for a new project I'm
working on but I can't seem to get it to work with Orion 1.51.  The default
welcome page comes up and I can see the validator initializing.  I get the
following when trying to go to the registration example page:

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line
9)
at com.orionserver[Orion/1.5.1 (build
10410)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ah._pcd(Unknown Source)
at com.evermind[Orion/1.5.1 (build
10410)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

Any Ideas?

Thanks,
Chuck



Anyone have the Struts Validator example working?

2001-06-05 Thread Chuck Stern

Hi,

I would like to try David Winterfeldt's validator for a new project I'm
working on but I can't seem to get it to work with Orion 1.51.  The default
welcome page comes up and I can see the validator initializing.  I get the
following when trying to go to the registration example page:

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP page line
9)
at com.orionserver[Orion/1.5.1 (build
10410)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ah._pcd(Unknown Source)
at com.evermind[Orion/1.5.1 (build
10410)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

Any Ideas?

Thanks,
Chuck