Hi,

Just point the dtd reference to a file in your disk:

FROM:
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration
1.1//EN"
          "http://jakarta.apache.org/struts/dtds/validator_1_0.dtd";>

TO:
<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.0//EN"
          "file:/your/path/to/validator_1_0.dtd">

Julio Cesar


-----Mensagem original-----
De: Brian McSweeney [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 5 de junho de 2003 07:03
Para: Struts Users Mailing List
Assunto: Re: struts validator

I use xdoclet to generate my validator stuff. There is a tag in the
<strutsvalidationxml/> that allows you to use the dtd or not. I
set it there. Not sure how it actually works under the hood though.
Sorry :-( Anyone else know?
Brian

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 11:00 AM
Subject: RE: struts validator


> hi,
> Can you please let me know of how do you get rid of this issuse ( i
> mean setting up the validator so that i need not be
> connected to the net ) ...
>
> Thanks
> Guru
>
> -----Original Message-----
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: 05 June 2003 10:50
> To: Struts Users Mailing List
> Subject: Re: struts validator
>
>
> I had initial trouble setting up the validator, mainly to do with it
not
> working when you try to validate the dtd with a machine not connected
> to the net. It didn't give a good error explaining this. However, once
I
> realised this was the problem, and set up the validator properly, it
works
> really well. Especially, if, like me, you are new to javascript!
> Brian
>
> ----- Original Message -----
> From: "Mark Galbreath" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Thursday, June 05, 2003 5:18 AM
> Subject: RE: struts validator
>
>
> > You know, I just don't get it. I think Validator was a great idea
that
> > simply proved wrong in implementation.  And I know I am not alone it
this
> > assessment.
> >
> > Mark
> >
> > -----Original Message-----
> > From: Jeff Kyser [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 05, 2003 12:03 AM
> > To: Struts Users Mailing List
> > Subject: Re: struts validator
> >
> >
> > Like I said, I dont use client-side, and its been pretty smooth
sailing
> for
> > me. Sorry your experience was different, but personally, I like it.
> > Especially defining constants for validation masks and using them
over
and
> > over on lots of different forms in different projects even. And the
> > requiredif has been pretty handy for a number of cases to boot
> >
> > Of course, there are still cases where I need to go to
> > validate() methods in the actions, but they are less
> > and less, just as I use actual FormBeans less and less,
> > now that i halfway grok DynaValidatorForms...
> >
> > cheers,
> >
> > -jeff
> >
> > On Wednesday, June 4, 2003, at 10:40  PM, Mark Galbreath wrote:
> >
> > > yeah, well, DUH!  When are you guys going to realize that
Validator
> > > should
> > > never have come out here even in beta. It sucks.
> > >
> > > Mark
> > >
> > > -----Original Message-----
> > > From: Jeff Kyser [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 04, 2003 9:25 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: struts validator
> > >
> > >
> > > I only did server-side validations, using v1.1b3, until I saw lots
of
> > > people
> > > complaining that v1.1rc1 wasn;t working for client-side
validations.
> > >
> > > I tried it (rc1) and it didn't work for me either. I haven't
messed
> > > with the nightly builds - just went back to 1.1b3. Its probably
been
> > > fixed in the
> > > latest, but since 1.1rc2 is coming out soon, figure I'll wait
until
> > > then to
> > > check it out again.
> > >
> > > -jeff
> > >
> > > On Wednesday, June 4, 2003, at 08:18  PM, Mark Galbreath wrote:
> > >
> > >> Beats me, dude.  I struggled with it for 3 days and said enough
is
> > >> enough, and wrote my own validations in my Action classes.  If
you
> > >> look through the
> > >> mail archive, you'll see right off that this is what happens to
the
> > >> majority
> > >> of people trying to get Validator to work.
> > >>
> > >> Good luck,
> > >> Mark
> > >>
> > >> -----Original Message-----
> > >> From: Frances Aleah Z. de Guzman
[mailto:[EMAIL PROTECTED]
> > >> Sent: Wednesday, June 04, 2003 8:55 PM
> > >> To: Struts Users Mailing List; Mark Galbreath
> > >> Subject: Re: struts validator
> > >>
> > >>
> > >> how can i fix it?
> > >>
> > >> On Friday 30 May 2003 08:20 pm, Mark Galbreath wrote:
> > >>> That's because the Validator works by magic and you obviously
have a
> > >>> hex in your machine.
> > >>>
> > >>> (sometimes I kill myself)
> > >>> Mark
> > >>>
> > >>> -----Original Message-----
> > >>> From: Frances Aleah Z. de Guzman
[mailto:[EMAIL PROTECTED]
> > >>> Sent: Friday, May 30, 2003 2:49 AM
> > >>> To: [EMAIL PROTECTED]
> > >>> Subject: struts validator
> > >>>
> > >>>
> > >>> struts validator (client side validation) example is not working
in
> > >>> my pc, even the struts example. but it is working with the other
pcs
> > >>> in our office.
> > >>>
> > >>> i noticed that when i view the page source there is no
javascript
> > >>> generated unlike in the other pc. is there still i have to
configure
> > >>> or what? im using
> > >>>
> > >>> struts rc1.1 and j2sdk 1.4.1_02 and tomcat 4.1.24 as the web
server
> > >>> and sometimes JBOSS 3.0.6
> > >>
> > >> --
> > >> Frances Aleah Z. De Guzman
> > >> SA/Programmer
> > >> Ingenium Technology, Inc.
> > >> http://www.ingenium.com.ph
> > >>
> > >> Disclaimer :
> > >> This message is intended only for the named recipient. If you are
not
> > >> the intended recipient you are notified that disclosing, copying,
> > >> distributing
> > >> or taking any action in reliance on the contents of this
information
> > >> is
> > >> strictly prohibited.
> > >>
> > >>
> > >>
> > >>
---------------------------------------------------------------------
> > >> 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]
> > >>
> > >
> > >
> > >
---------------------------------------------------------------------
> > > 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]
> > >
> >
> >
> >
---------------------------------------------------------------------
> > 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]
> >
>
>
> ---------------------------------------------------------------------
> 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]
>


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

Reply via email to