- First, put the field "timeout" inside the base form (which you are referring as document.forms[0]).
- In the action:
if (request.getParameter("timeout").equ alsIgnoreC ase("true" )) {
response.sendRedirect("http://www.my SiteOfSite s.com");
}
forward = executeSubmitLogic(mapping, form, request, response);
}
Main Topics
Browse All Topics





by: karanwPosted on 2009-08-24 at 20:14:36ID: 25174356
do you have setTimeout method in baseClassForm class?