Link to home
Start Free TrialLog in
Avatar of nishant1
nishant1

asked on

how to access html page by back button which was generated when request with post method was submitted

My web server is running servlet which is maintaining sessions. Based on session data different dynamically generated html pages are shown. All html pages update session data when their forms are submitted with post method.How can client access previously seen Html page with back method? I can not change post method.Can I repost the posted data automatoically, without using reload?
Avatar of mafweb
mafweb

Have you tried the javascript history.back() command? I'm not sure whether this works for the post method
javascript:history.go(-1) goes one page back.

Avatar of nishant1

ASKER

My condition is if user clicks back, the html page having form with post method must be posted again.
ASKER CERTIFIED SOLUTION
Avatar of DKostov
DKostov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial