将
return mapping.findForward(page);
替换为:
ActionForward forward = mapping.findForward(page);
String path = forward.getPath();
return new ActionForward(forward.getName(),path,true);
将
return mapping.findForward(page);
ActionForward forward = mapping.findForward(page);
String path = forward.getPath();
return new ActionForward(forward.getName(),path,true);