I currently have a doPost defined in a
servlet which works perfectly but on my
jsp I have a "NEXT and BACK" hyperlink that I would like to go to that same servlet and return to the page just altering what is shown on the page. My problem is that I still need all the form parameters that are passed with a normal <form submit>. I've debated just
but I'm not too fond of this idea.
I've never used javaScript but have heard good things ;). So I was looking into:
...which to my understanding submits the form with all of its parameters.
So, my question is how would I send a new form parameter inside the JavaScript just to tell the servlet whether it was "BACK or NEXT"?
[ May 14, 2008: Message edited by: paul yule ]