Question from a beginner in servlets

I have written my servlet but have come across a problem when I want to submit it :

 out.println("<input type=submit value=\"Submit + New Tail Collection\" name=enter>");

 out.println("<input type=submit value=\"Submit + Finish\">");

 out.println("<input type=reset value=\"Reset\">");

As you can see I want an option that allows me to go back to the start of the servlet if the Submit + new tail collection is pressed, or to get back to my main menu if the Submit + finish is pressed.  But I am uncertain how to proceed from here.  This code is in the doGet and the information is processed in doPost.

I hope this isn't to much of an obvious and easy problem to solve

Thanks

Kirstin
 
 

Reply via email to