Validating jsp page Sex chat without creating any account

Posted by / 25-Jun-2017 16:17

Validating jsp page

Is there any tag that can let you know when the user has left ...

Hi Nitin, If you want to suggestion for business logic then use same way as Ankit Garg says.

It uses and the validate method for validating the data in Forms.

hi, i have created a form in html, with several input boxes where they enter numbers (currency).

However, atm, they can enter strings into the html text boxes, and i only want them to be able to enter numbers.

function check Form(form){ str1 = Trim(form.username.value); if (is Empty(str1)) str2 = Trim(form.password.value); if (is Empty(str2)) return true; Best regards, Mano You can use Java Script for validating fields before submitting to database.. If you want to do the client side validation of forms, then you can call javascripts fuctions in your jsp's .

Regards rachel" id="ctl00_m_m_i_ctl00_gr_ctl05_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="821081" /u guyz suggested me to use the java script to validate the data but i have to validate the data using the JSP code and NOT java scripts. cheers (navdeep)" id="ctl00_m_m_i_ctl00_gr_ctl07_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="821896" / Hi all, u guyz suggested me to use the java script to validate the data but i have to validate the data using the JSP code and NOT java scripts. cheers (navdeep) The validation of the form components can be done either at the client end or at the server end. Depending on your requirement you choose which is better. Hi all, u guyz suggested me to use the java script to validate the data but i have to validate the data using the JSP code and NOT java scripts. cheers (navdeep)" id="ctl00_m_m_i_ctl00_gr_ctl09_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="821902" / Hi Navdeep, The validation of the form components can be done either at the client end or at the server end. Depending on your requirement you choose which is better. Hi all, u guyz suggested me to use the java script to validate the data but i have to validate the data using the JSP code and NOT java scripts. In case of Struts, there is a validation Framework. cheers, Nidhi" id="ctl00_m_m_i_ctl00_gr_ctl11_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="822121" / hi Navdeep, Sripathi is right.

If you wish not to write your own then STRUTS framework has built in form validation components. If you wish not to write your own then STRUTS framework has built in form validation components. It uses and the validate method for validating the data in Forms. If you want to do the client side validation of forms, then you can call javascripts fuctions in your jsp's .

In case of Struts, there is a validation Framework.

validating jsp page-16validating jsp page-39validating jsp page-4

try these example when u wann to check whether user has input his /her login info or whether its empty u can code something like this....

One thought on “validating jsp page”