Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Re: Display error message in the same page


Message #1 by ananda_15@u... on Fri, 11 May 2001 10:54:24
Hai!
I'm Ananda,Hyd.You can call errors in same by
taking a hidden field ,if error store in hidden value and use out.println
2 print.else signup.

Ananda


> Hai,
>    I have a page with couple of form fields in it.I do client side 
> validations using java script and display the error message using Alert 
> message. I also do some validations on the server side depending upon 
the 
> filled in form values.
> 
>    My problem is after the validation in the server side, i want to 
> display it on the same page which contains the form.After validation, 
how 
> can i display the error message in the same page.
> 
> For example:  when we try to register a username which already exists, 
we 
> get a message as "User name already exists" at the top of the form.I 
want 
> it like that.
> 
> Regards,

  Return to Index