See also client side validation taglibs in Coldtags suite:
http://www.servletsuite.com/jsp.htm
They will create an appropriate JavaScript for your application.
-
Are you returning "false" from the onSubmit event after showing the
alert? Typically an onSubmit J
t Technologies, http://www.jotobjects.com
>
> --
>
> Date:Sat, 6 Jul 2002 14:04:45 -0500
> From:John Vanderbrook <[EMAIL PROTECTED]>
> Subject: Re: HTML Form submit action and JSP interaction...
>
> This is a common problem. Search for how to
OTECTED]
Subject: HTML Form submit action and JSP interaction...
> Hi,
>
> I am writing a simple login validation pgm. I have a HTML file which has the
>
> login form and it action points to a JSP page that needs to be displayed
> ONLY AFTER the
> user has been succe
: Wednesday, June 26, 2002 7:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: HTML Form submit action and JSP interaction...
>
>
> You might need to submit the code for me to be able to help more
> effectively,
> but it seems that you're javascript may not be doing all o
username and password fields
>before submitting");
>return false;
>}else{
>return true;
>}
>}
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>> -----Original Mess
}
> -Original Message-
> From: Rajkumar, Haripriya (Haripriya) [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday,27 June 2002 2:36
> To: [EMAIL PROTECTED]
> Subject: HTML Form submit action and JSP interaction...
>
> Hi,
>
> I am writing a simple login
Hi,
I am writing a simple login validation pgm. I have a HTML file which has the
login form and it action points to a JSP page that needs to be displayed
ONLY AFTER the
user has been successfully validated.
Also, I have a JavaScript file that holds function to check for empty fields
in the form