ActionForward nextPage=(ActionMapping)mapping.findForward(“main”);
nextPage = new ActionForward(next,true);
ActionForward构造函数中的第2个参数:
True:使用重定向
False:使用转发
ª <global-forwards>定义可以用于所有行为的映射,而<action>中的<forward>则定义了
仅可用于该行为的映射。
ª 当struts servlet收到一个请求时,首先使用processPath()方法来提取映射到行为类的