Hi, can someone tell exactly in which cases the ActionForm.reset() method is called ? More specifically, when an action or a erro handler redirects the system to a specific DispatchAction method, as showed in the code below, dos struts reset the form ?
public class MyExceptionHandler extends ExceptionHandler { public ActionForward execute(Exception error, ExceptionConfig ec, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws ServletException { // create action forward ActionForward forward = new ActionForward(mapping.getPath() + ".do?action=error"); ex.printStackTrace(); if (error instanceof AuthorizationException || error instanceof AuthenticationException) return (mapping.findForward("logon")); return forward; } } -- Miguel Galves - Engenheiro de Computação Já leu meus blogs hoje? Para geeks http://log4dev.blogspot.com Pra pessoas normais http://miguelgalves.blogspot.com "Não sabendo que era impossível, ele foi lá e fez..."