首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Initialize action of type: 有关问题

2012-11-14 
Initialize action of type: 问题2006-1-23 10:57:02 org.apache.struts.chain.ComposableRequestProcesso

Initialize action of type: 问题

2006-1-23 10:57:02 org.apache.struts.chain.ComposableRequestProcessor init
信息: Initializing composable request processor for module prefix ''
2006-1-23 10:57:02 org.apache.struts.chain.commands.servlet.CreateAction getAction
信息: Initialize action of type:? test.HelloAction

?

初学者 可能会碰到这个问题,很纠结的问题,解决方法是:


Action有2种execute方法,参数类型不同。

?

1、public ActionForward execute(ActionMapping mapping, ActionForm form,
???HttpServletRequest request, HttpServletResponse response)

?

?

2、public ActionForward execute(ActionMapping arg0, ActionForm arg1,
???ServletRequest arg2, ServletResponse arg3) throws Exception

?

action 里面要选择第一种方法

?

热点排行