(1)type="dispatcher" 为默认,用于jsp页面跳转 <result name="success">/index.jsp</result> 完整的写法为: <result name="success" type="dispatcher"> <param name="location">/index.jsp</param> </result> (2)type="redirect" 重定向到jsp、action、外部网址 <result name="success" type="redirect">/index.jsp</result> <result name="success…
2012-04-15 22:27 · struts · result · type · Strut2