Women in Technology

Hear us Roar



Article:
  Handling Multiple Submits
Subject:   Poor Solution at Best
Date:   2003-04-24 00:08:03
From:   anonymous2
Response to: Poor Solution at Best

Then what could be the best solution in J2EE environment.
It was mentioned that support is inbuilt in strtus too. However if someone presses back and resubmits : then how can I prevent them from Resubmit.
Someone asked me this even in an interview :) I did not have a good solution. Someone Please suggest.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Poor Solution at Best
    2003-04-27 14:51:41  anonymous2 [View]

    the easiest is using Jakarta Struts.. checkout the following methods in the javadoc:

    org.apache.struts.action.Action.generateToken()
    org.apache.struts.action.Action.resetToken()
    org.apache.struts.action.Action.isTokenValid()

    this will be the answer to your prayers...