struts2如何访问action的特定方法

在使用struts2的时候,咱们通常会在一个action中处理不少事情,那么不指定方法就会访问action的默认方法execute,若是指定了则会访问指定的方法。io 例如:class http://localhost/struts2/simple/hello.actionstruts2 默认调用hello这个action中的execute方法!配置 访问指定方法方法 方式一:im http://
相关文章
相关标签/搜索