0
     <action name="enquiryprocess" class="materialTypeMasterAction" method="createorder" >
    <result name="success">/pages/procurement/EnquiryProcess.jsp</result>
    </action>

    <action name="manual_order" class="materialTypeMasterAction" method="enquiry_process">
    <result name="success">/pages/procurement/EnquiryDetails.jsp</result>
    </action>

when i refresh EnquiryDetails.jsp its submit again my previous action EnquiryProcess.jsp value in database

Roman C
  • 49,761
  • 33
  • 66
  • 176

1 Answers1

0

Go to Token Interceptor concept in Struts2. Reference

OR

Post/Redirect/Get is the classic Pattern for every web technology.

These will disable the double submission of form.

Reference from here

Community
  • 1
  • 1
Naveen Kumar Alone
  • 7,536
  • 5
  • 36
  • 57