Subject: Re: Struts Validator NoClassDefFoundError
From: Pim [EMAIL PROTECTED]
===
Hi Craig,
Check the version of the validator. Use the version 20020114, it's the
latest on Davids site. I had similar problems, this was caused because I
used version 0.5
Pim
Craig Raw [EMAIL PROTECTED] wrote
Hi,
I am using the Struts Validator in my webapp but encounter the following
error on each page that tries to use it.
java.lang.NoClassDefFoundError:
org/apache/struts/validator/action/ValidatorForm
at java.lang.ClassLoader.defineClass0(Native Method
What version of the Struts Validator are you using?
Package names were changed at some point from
com.wintecinc.struts.* to
org.apache.struts.validator.* (1/14/2002). When this
was done, most of the validator was moved to the
Jakarta Commons Validator
(http://jakarta.apache.org/commons). I
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2002 07:41 PM
To: Struts Users Mailing List
Subject: Re: Struts Validator NoClassDefFoundError
What version of the Struts Validator are you using?
Package names were changed at some point from
com.wintecinc.struts
Hi,
Would like to know if I can validate using js with multiple forms in one
file. Currently I'm having a problem. When I use validator:javascript
formName=myForm1 / and
validator:javascript formName=myForm2 / only the last one specified
works. The other form gives me a javascript error. Is
Hi,
I started using the struts validator package about a week ago and have
the following questions:
1 - How do I get the validator to validate a required field for a selection
box?
My selection is on an integer property. I noticed in the
validator-rules.xml file it is checking
--- Ben Kafka [EMAIL PROTECTED] wrote:
Hi,
I started using the struts validator package
about a week ago and have
the following questions:
1 - How do I get the validator to validate a
required field for a selection
box?
My selection is on an integer property. I noticed
, but it never gets to this routine.
(Thanks for your help by the way)
Ben
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 11:57 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Questions
--- Ben Kafka [EMAIL PROTECTED] wrote:
Hi
gets
to this routine.
(Thanks for your help by the way)
Ben
-Original Message-
From: David Winterfeldt
[mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 11:57 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Questions
--- Ben Kafka [EMAIL PROTECTED] wrote
It is keyed on the property, not the message resource
key. So it would be the same as the property for you
html:text tag.
html:errors property=email /
This would represent getEmail/setEmail.
David
--- [EMAIL PROTECTED] wrote:
Hi,
I'm new to Struts and Struts Validator. I have been
able
and 1.1
that I should be aware of? Thanks again for all of your help.
-robert.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 11:03 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Load Failure
Try it with this one instead
:235)
Exception in thread main
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 11:03 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Load Failure
Try it with this one instead (binaries only),
http://husted.com/struts/resources
-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Sunday, January 06, 2002 12:10 PM
To: [EMAIL PROTECTED]
Subject: Struts Validator Load Failure
Subject: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The following is a partial stack trace of when the app server
[mailto:@[EMAIL PROTECTED]]
Sent: Sunday, January 06, 2002 12:10 PM
To: [EMAIL PROTECTED]
Subject: Struts Validator Load Failure
Subject: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The following is a partial stack trace of when the app server tries to load
Struts
Hello Ted.
I just tried the nightly 31-Jan-2002 version of struts. Torque is from
01-06-2002.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 6:07 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Load Failure
By any
the nightly 31-Jan-2002 version of struts. Torque is from
01-06-2002.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 6:07 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Load Failure
By any version of Struts, do include
11:03 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Load Failure
Try it with this one instead (binaries only),
http://husted.com/struts/resources/struts_1_1a.zip
and let us know if it works as well as it did Struts 1.0.x
Hey, and any notes on using Torque with Struts would
)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread main
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 11:03 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator Load Failure
Thanks David
I've fixed it now.
I have ensured that the struts and struts-validator jars are only on the
webapp's classpath as per your webpage.
I have excluded them from my environment, but ensured they are on the
compiler's classpath by adding them into the ant build.xml
Cheers
Patrick
be the correct version.
Thanks
Patrick
-Original Message-
From: Michelle Popovits [SMTP:[EMAIL PROTECTED]]
Sent: 08 January 2002 20:47
To: 'Struts Users Mailing List'
Subject: RE: Struts-Validator ActionForm error
remove struts-jar from classpath and add to web-inf/lib directory
Hi All
I'm using the com.wintecinc.struts validator library.
When I subclass my formbean from an ActionForm, it runs Ok, but doesn't
validate.
When I subclass my formbean from a com.wintecinc.struts.action.ValidatorForm
as suggested, I receive the following runtime error:
: Struts-Validator ActionForm error
Hi All
I'm using the com.wintecinc.struts validator library.
When I subclass my formbean from an ActionForm, it runs Ok, but doesn't
validate.
When I subclass my formbean from a com.wintecinc.struts.action.ValidatorForm
as suggested, I receive the following
: Sunday, January 06, 2002 7:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts Validator Load Failure
Subject: Re: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The same validation.xml works in the Tomcat environment with the same
commons, struts, tiles validator jars.
Do I
, I'd be interested in
hearing
it. In the meantime back to Struts 1.0.
-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Sunday, January 06, 2002 7:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts Validator Load Failure
Subject: Re: Struts Validator Load Failure
Yes, they are there. Same problem.
-Original Message-
From: David Morris [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 4:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Struts Validator Load Failure
You might check that the commons jar files are in the same directory
Subject: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The following is a partial stack trace of when the app server tries to load
Struts Validator.
I have the latest version of Digester (v1.1.1) and Struts Validator in my
classpath.
Anyone know how to fix
I haven't used the validator, but that is a Digester error. I would
guess that something is wrong in the validation.xml file.
Struts Newsgroup @Basebeans.com wrote:
Subject: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The following is a partial stack trace
Subject: Re: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The same validation.xml works in the Tomcat environment with the same
commons, struts, tiles validator jars.
Do I need to be including jaxp or xerces in my classpath as well ? FYI - My
app server is SilverStream
5:22 PM
To: Jakarta Struts (Dev) (E-mail); Jakarta Struts (User) (E-mail)
Subject: Struts Validator (dumb?) question
Hello All,
I'm trying to use the Struts validator but it doesn't seem to
be working in
my - relatively common - case.
I have a modify.jsp page that is displayed upon
trying to use the Struts validator but it
doesn't seem to be working in
my - relatively common - case.
I have a modify.jsp page that is displayed upon
calling
/modifyAction?command=init (using the
DispatchAction). No validation must be
performed at this point. The user then enters some
Hello All,
I'm trying to use the Struts validator but it doesn't seem to be working in
my - relatively common - case.
I have a modify.jsp page that is displayed upon calling
/modifyAction?command=init (using the DispatchAction). No validation must be
performed at this point. The user
validator - console messages at startup
Hi,
I have the struts validator extension installed. When ever I start up my
app server, the details of all the different validations are displayed on
the server console.
Is there a way to suppress this?
Thanks,
Michelle
Hi,
I have the struts validator extension installed. When ever I start up my
app server, the details of all the different validations are displayed on
the server console.
Is there a way to suppress this?
Thanks,
Michelle
_
Get
Hi
I am trying to use Validator in my application and can not get it to work. I
have a single test form that I would like to use the Validator for
client-side and server-side validation. If I add the following
%@ taglib uri=/WEB-INF/struts-validator.tld prefix=validator %
reference to the
search the archives for more postings, but I have
heard different approaches when I posted the same
problem.
1. Check to see that you are using the latest Struts
nightly build.
2. If not using hte latest nightly build, this may
work if you use Tomcat 4.0
3. Remove Jaxp, crimson and parser.jar
is this feature available in Struts 1.0?
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Questions About Struts Validator
That isn't possible with the default mask validator.
I've recently
-
From: David Winterfeldt
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Questions About Struts Validator
That isn't possible with the default mask validator.
I've recently added a min and max length validation
to
nightly builds
: Questions About Struts Validator
What feature are you referring to? the min/max
validators or defining a second mask validator as
'mask2'? Also, this would depend on the validator
version you are using. Are you asking if the latest
release will work with Struts 1.0? It should.
Someone
Thanks you, David
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Questions About Struts Validator
The validator is in the Struts nightly source
downloads in the contrib/validator directory
:[EMAIL PROTECTED]]
Sent: Thursday, October 11, 2001 1:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Questions About Struts Validator
This is what you were asking about though?
Everything
makes sense now?
David
--- Vaughan Jackson [EMAIL PROTECTED]
wrote:
David,
I am sorry, I hadn't
To: [EMAIL PROTECTED]
Subject: RE: Questions About Struts Validator
This is what you were asking about though? Everything
makes sense now?
David
--- Vaughan Jackson [EMAIL PROTECTED]
wrote:
David,
I am sorry, I hadn't understood this before.
Thanks again,
Vaughan.
-Original Message
Hi
I developed a struts application (jakarta-tomcat-3.2.1, struts 1.0). So far,
everything runs well. Then, I integrated the Struts Validator by David Winterfeldt
(version 0.5). From now on, I get the following error as soon as I call a page whith
field, which should be validated
no problem ;-)
-Ursprüngliche Nachricht-
Von: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 13. September 2001 17:58
An: [EMAIL PROTECTED]
Betreff: Re: AW: Bug in Struts validator !
My bad. I'm blind. I'll fix it and check it into
CVS.
David
--- juraj Lenharcik
I don't see that you changed anything except to add
braces around the if statement. It already checks if
the locale is null and uses the default locale if it
is null. Am I missing what you changed?
David
--- juraj Lenharcik [EMAIL PROTECTED]
wrote:
hi all,
In the class GenericValidator,
was written and is not null.
juraj
-Ursprüngliche Nachricht-
Von: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 13. September 2001 16:41
An: [EMAIL PROTECTED]
Betreff: Re: Bug in Struts validator !
I don't see that you changed anything except to add
braces around
was written and is not null.
juraj
-Ursprüngliche Nachricht-
Von: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 13. September 2001 16:41
An: [EMAIL PROTECTED]
Betreff: Re: Bug in Struts validator !
I don't see that you changed anything except to add
braces around
PROTECTED]
Betreff: Re: Bug in Struts validator !
I don't see that you changed anything except to add
braces around the if statement. It already checks
if
the locale is null and uses the default locale if it
is null. Am I missing what you changed?
David
--- juraj Lenharcik [EMAIL
hi all,
In the class GenericValidator, when you use an another locale than the
default you get a null pointer exception. i tried it with the german locale
settings. i fixed the bug in this lines:
DateFormat formatter = null;
if (locale != null){
==
I'm having a look at the Struts validator, and I've got a
couple of questions:
1. There appears to be a load of whitespace in the
genertated Javascript, which bloats the HTML page. Is this normal, or is it
me?
2. I'm trying a simple 'required' validation as defined in
validation.xml
, 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
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:
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
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
-
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 load
:[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?
load
:
==
Orion: 1.5.2
[application.xml]
web-module id=validator
path=../../../../dev/share/struts-validator/validator//
[default-web-site.xml]
web-app application=default name=validator root=/share/validator/
validator.war: extracted from validator20010510.zip
this war file
Did you try leaving your load-on-startup 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
:[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
Hi All,
Are there any plans to include an xml (or configurable) validator such as
that written by David Winterfeldt within Struts ?
Jon Ridgway
As a satisfied customer, I would vote for it myself, but we're in
feature freeze for 1.0, so this would come up in the 1.1 timeframe.
Jon.Ridgway wrote:
Hi All,
Are there any plans to include an xml (or configurable) validator such as
that written by David Winterfeldt within Struts ?
I've finally got David Winterfeldt's Struts Validator working on the server
side, but it doesn't look like it's working on the client side. So I've got
a couple of questions:
First, how can I be sure whether or not the validator is working on the
client side? I'm assuming that, if the client
the Struts Validator work on the client side
I've finally got David Winterfeldt's Struts Validator working on the server
side, but it doesn't look like it's working on the client side. So I've got
a couple of questions:
First, how can I be sure whether or not the validator is working on the
client
301 - 362 of 362 matches
Mail list logo