Hi,
I have an action which save the data into the database, after the saving, I would like to forward to the listing page, where I have another action doing the listing.
Should I repeat the same listing method (method list) in the save action itself..? Or, is there any better way?
Thanks for advanced.
rgds, Yen
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
{
method save..
method list..
return (mapping.findForward("afflist"));
}
public ActionForward listing(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
{
method list
return (mapping.findForward("afflist"));
}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]