Initialize action of type: 有关问题

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 里面要选择第一种方法

?