HTML javascript form to JSP page

Discussion in 'JSP' started by liam_page1, Aug 8, 2008.

Thread Status:
Not open for further replies.
  1. liam_page1

    liam_page1 New Member

    Joined:
    Aug 8, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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

    thanks everyone
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice