You got forward and redirect mixed up. 1. Forward can be done only on server side from one jsp/servlet to another jsp/servlet within the server. 2. You have a link in the HTML page to the "two.jsp" and when user click on this it makes "GET" request not form POST. 3. If it's just one field you want to pass it to server, the simple way is to write a onclick function on html:link& to append the text box name with value to the actual href value.
There are few more options like changing the form action dynamically to sending additional parameter to one.jsp to forward to two.jsp. You need to pick how you want to implement.
posted 13 years ago
Thanks man ! i will try that out
And then the flying monkeys attacked. My only defense was this tiny ad: