Go4Expert (http://www.go4expert.com/)
-   JSP (http://www.go4expert.com/forums/jsp/)
-   -   HTML javascript form to JSP page (http://www.go4expert.com/forums/html-javascript-form-jsp-page-t12787/)

liam_page1 8Aug2008 23:00

HTML javascript form to JSP page
hey all, first post, im a real n00b at this.. its just part of my first yr at uni and dont even need it for the 2nd yr and never done it before.. anyway, if u could please just get me through this il be FOREVER greatfull...

basically iv done the following.

1. Create a registration form to be used to sign up to a University society, allowing the user to enter a name and email address in text fields and two copies of a student number in password fields. Use JavaScript to validate the form so that it only submits if the first of the two student number fields is numeric, exactly 8 digits long and that the two copies of the student number are identical.

that was fine, i got all that done... the problem is the 2nd part

2. Create a JSP page which processes the request from the form in question 1 and which re-validates the form input in exactly the same way as described in question 1, and then either displays a mailto: link to the supplied email address if the form parameters are valid or an error message describing the error (non-numeric student number, incorrect length, non-identical student numbers).

i dont no what or how to do any of this..

please anyone who can help me out il be so happy.. need this asap, been trying for ages to learn and figure all this out but to no hope.. ur my last chance


asha 17Oct2008 10:52

Re: HTML javascript form to JSP page
Have you done at coding in JSP before this?

All times are GMT +5.5. The time now is 07:25.