Egg Zackly, Ricardo. Whay use an ActionForm here and why use
DispatchAction. Looks to me like you just want something like
ForwardAction.
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
// Create a RequestDispatcher the corresponding resource
String path = mapping.getParameter();
if (path == null) {
throw new ServletException(messages.getMessage("forward.path"));
}
// Let the controller handle the request
ActionForward retVal = new ActionForward(path);
retVal.setContextRelative(true);
return retVal;
}
Ricardo Andres Quintero wrote:
I dont understand why u use an ActionForm where u dont collect data neither
use the ActionForm to show data.
?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]