最近用struts发现了一个问题,请各位大侠帮忙!
---------------------------------------------
我在一个index.jsp页面写:(尖括号我用"#"代替)
///////////////////////////////////
logic:redirect forward="list"/#
////////////////////////////////////
struts-config.xml:
////////////////////////////////
全局转发:
forward name="list" path="/qnlist.do"/#
action:
action-mappings#
action path="/qnlist" type="com.kevinoloo.struts.action.TestAction"#
forward name="success" path="/pages/Welcome.jsp"/#
</action>
///////////////////////////////////////
在TestAction.java中execute(...)中只有一句话:
return (mapping.findForward("success"));
-------------------------------------------------
为什么运行时不显示elcome.jsp???