www.webdeveloper.com
Results 1 to 5 of 5

Thread: java jsp problem need help

  1. #1
    Join Date
    Dec 2012
    Posts
    4

    Question java jsp problem need help

    hi m a newbie in jsp n i m using netbeans as ide ..
    my problem is i hv two buttons in my .jsp page one is sign in and one is register and i also hv more two jsp page one is home.jsp and registration.jsp........
    i want that, whn i click on my sign in button it should redirect me to my home page and when i click on register button it should redirect me to registration page reply me as soon as possible

  2. #2
    Join Date
    Dec 2012
    Posts
    1

    reply...

    just put those two buttons in two diff: forms for example:

    <body>

    <form action="home.jsp" method="GET">
    <input type="submit" value="Submit1" />
    </form>

    <form action="register.jsp" method="GET">
    <input type="submit" value="Submit2" />
    </form>

    </body>

    This will work...

    Good luck!!!

  3. #3
    Join Date
    Dec 2012
    Posts
    4
    great!!! it worked thanks dude

  4. #4
    Join Date
    Dec 2012
    Posts
    4
    i hv created the registration form in tht i want to do the validations in the form i hv username,password,firstname,lastname,email,phone,city,state,pincode how cn i validate each and every thing

  5. #5
    Join Date
    Dec 2012
    Posts
    4
    i hv created the registration form in tht i want to do the validations in the form i hv username,password,firstname,lastname,email,phone,city,state,pincode how cn i validate each and every thing

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles