struts2如何訪問action的特定方法

在使用struts2的時候,咱們通常會在一個action中處理不少事情,那麼不指定方法就會訪問action的默認方法execute,若是指定了則會訪問指定的方法。io 例如:class http://localhost/struts2/simple/hello.actionstruts2 默認調用hello這個action中的execute方法!配置 訪問指定方法方法 方式一:im http://
相關文章
相關標籤/搜索