struts2 - Preventing duplicate form submission when clicking the submit button multiple times -


i'm working on webapp project struts2 , prevent making duplicate entries when form submit button clicked multiple times. i'd prefer handle issue in server side make sure browser compatibility. webapp follows workflow form -> action (which in cases, validatesave() save()) -> resultpage(which jsp). using "continue" link form->result page. have read redirection better in cases setting bean(scope request) in action needed load result page.

this having trouble tokensession. able skip saving if request duplicate not able set bean load result page.

would appreciate help, in advance.

this might you.

as struts 2 provides token interceptor can used handle multiple form submission problem.

http://www.journaldev.com/2281/struts2-token-interceptor-to-handle-double-form-submission-problem


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -