a should not refresh problem
Hi all,
We have a web reporting portal in which the user logins into the website. Based upon the permission given to the user for viewing some reports,we stored the reports in an array list and usingsession.setAttribute() i have made the arraylist available in the session scope.An user is associated toReport A and Report B.i have displayed the two name in a drop down box. If the user clicks any of the reports the form corresponding to that report should come. i have used onchange() method and that works fine too. But the problem comes when the user fills the form for Report B and views the report ,the drop down box shows the value Report A instead of Report B. earlier i used theresponse.setHeader("Cache-control","no-cache") not to cache the form elements.but i removed it now. so my browser is not able to cache the previous submitted elements. i should display the value what the user has submitted earlier. Please help me in this regard.

