Thursday, 15 July 2010

java - POST to GET Redirection -



java - POST to GET Redirection -

on jsp page after session expiration if user performs db operations post url http status shows 302 should redirect logout page it's phone call logout not beingness redirected.

how redirect post http status 302 or can other way accomplish this?

some comments/suggestion:

when server responds http 302 additionally sends location header browser reads , makes get request. this how typically works. please create sure when send http 302 send location header in response , rest of things handled browser.

please note here have take liberty assume can alter server side code sends http 302. allow me know if otherwise.

java spring jsp http

No comments:

Post a Comment