The prototype method reset()is:
public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
If we do not use the method reset(), when this time we try to open our application, then the previous values will arrive automatically.
If we use this method reset(), the previous values will be reset to empty values. Thus, using this method reset(), we can avoid the previous values.
source
share