You can use Struts validator for both - client side as well as server side validations.
Now the question is - can server side afford so many validations? Well, in my opinion, we don't have a choice. You have to perform server side validations because a user may choose to turn off client side scripting. >-- Original Message -- >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >From: "Pamela Li" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Re: <html:text> issue >Date: Wed, 15 May 2002 08:56:53 +0800 > > >hi, >for struts validator,it is still a serverside validator,right? >so can a server afford so many validation from every page? > > >----- Original Message ----- >From: "Struts Newsgroup" <@[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, May 15, 2002 12:40 AM >Subject: Re: <html:text> issue > > >> Subject: Re: <html:text> issue >> From: Vic C <[EMAIL PROTECTED]> >> === >> JavaScript validation? Struts validator is great! Re-consider for future. >> >> Galbreath, Mark wrote: >> > Nah...want to avoid all client scripting except JavaScript validation. >> > >> > -----Original Message----- >> > From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]] >> > Sent: Tuesday, May 14, 2002 12:22 PM >> > To: [EMAIL PROTECTED] >> > Subject: Re: <html:text> issue >> > >> > >> > how about scriptlet? if getProperty==0 call Javascript function. >> > >> > Javascript funcion >> > form.element.value=""; >> > >> > >> > >> >>From: "Galbreath, Mark" <[EMAIL PROTECTED]> >> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >> >>To: "Struts (E-mail)" <[EMAIL PROTECTED]> >> >>Subject: <html:text> issue >> >>Date: Tue, 14 May 2002 12:12:51 -0400 >> >> >> >>Is there a way to suppress the default value for <html:text> when the >> >>property of the bean is an int? I don't want a "0" showing in the textbox >> >>when the property has not been set - it's screwing up validation. >> >> >> >>Thanks, >> >>Mark >> > >> > >> > >> > >> > >> > _________________________________________________________________ >> > 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]> >> > >> >> >> -- >> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >> >> Ajay Chitre Diligent Team, Inc. (Where Diligent People Work as a Team) http://www.DiligentTeam.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

