[提问]struts的ForwordAction应该如何使用?
<action path="/Welcome" type="org.apache.struts.actions.ForwordAction" parameter ="/pages/welcome.jsp" />理论上只要按照上面的写法,在struts-config.xml里定义了,就可以访问 /Welcome 不过为什么我访问不到?
搜索更多相关主题的帖子:
struts 提问
----------------解决方案--------------------------------------------------------
我的编辑器是eclipse-SDK-3.2.2-win32 配 NLpack1-eclipse-SDK-3.2.1
struts-1.2.9
tomacat5.0.28
----------------解决方案--------------------------------------------------------
看了看struts in action的源代码 找到问题了.
没有定义全局fordward .
--------------------------------
----------------解决方案--------------------------------------------------------