1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HTML javascript form to JSP page

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

  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
     
  2. asha

    asha New Member

    Joined:
    Nov 9, 2006
    Messages:
    44
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Homemaker
    Location:
    Kolkata
    Home Page:
    Have you done at coding in JSP before this?
     

Share This Page