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
just put those two buttons in two diff: forms for example:
<form action="home.jsp" method="GET">
<input type="submit" value="Submit1" />
<form action="register.jsp" method="GET">
<input type="submit" value="Submit2" />
This will work...
great!!! it worked thanks dude
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