Java 在';执行';在Struts 1.2中
在struts 1.2中,当调用表单中的URL时,将调用映射到barAction的action类中的Java 在';执行';在Struts 1.2中,java,struts,Java,Struts,在struts 1.2中,当调用表单中的URL时,将调用映射到barAction的action类中的execute方法(或process) 当调用上述URL时,是否可以在同一操作类中调用除execute(或process)以外的其他方法?您可以使用。基本上,它们允许您根据请求参数或操作映射配置选择要调用的方法 DispatchAction至少有3种“风格”:EventDispatchAction、LookupDispatchAction和MappingDispatchAction 我建议您看看S
execute
方法(或process
)
当调用上述URL时,是否可以在同一操作类中调用除execute
(或process
)以外的其他方法?您可以使用。基本上,它们允许您根据请求参数或操作映射配置选择要调用的方法
DispatchAction至少有3种“风格”:EventDispatchAction、LookupDispatchAction和MappingDispatchAction
我建议您看看Struts 1.2.9中引入的