P
planetparag
Hi,
We have a J2EE application which had jsp's that represent a form. When
we submit the jsp's the form is converted into a mail and is sent using
a mail server.
In the jsp there is a validation where we check for the length of the
body using the following:
if (formname.body.value.length == 0)
{
isFormComplete = false;
}
Need to know which are the possible cases when the length of the form
could be '0'.
The behaviour is real weird. Roughly 2 out of 10 times the length comes
as 0 even when the user enters all the details. What could be the
reason for the same ?
Any pointers are highly appreciated.
Regards,
Parag
We have a J2EE application which had jsp's that represent a form. When
we submit the jsp's the form is converted into a mail and is sent using
a mail server.
In the jsp there is a validation where we check for the length of the
body using the following:
if (formname.body.value.length == 0)
{
isFormComplete = false;
}
Need to know which are the possible cases when the length of the form
could be '0'.
The behaviour is real weird. Roughly 2 out of 10 times the length comes
as 0 even when the user enters all the details. What could be the
reason for the same ?
Any pointers are highly appreciated.
Regards,
Parag