when else condtion is satisfied inside loop then it go to another jsp page. by this
where form2 is perfectly defined in same jsp page
now from another jsp page i perform what i want
if i completed for loop then inside that js function i submit the form
then the page return back to again this page then its data (textfield value) which i entered run time is not shown
tfields are empty
Are you submitting the form through AJAX? Only then would the page context not get destroyed. If the form is submitted in the "normal" way, and you want the fields populated with the values that were entered, then the server-side code needs to generate the HTML page accordingly.
thankyou for your reply
i submitted form in normal way,but i want that page context not destroyed.
can you tell me how can i submit it through AJAX.
please write the code.
I don't have idea about AJAX