<action name="storeSearch"
class="StoreInfoAction"
method="search">
<result name="Search">
/jsp/storeList.jsp
</result>
<result name="Linkage">
/jsp/storeSearch.jsp
</result>
</action>
1.struts2 可以精确到Action的方法,method="search",及定义走 StoreInfoAction的search方法
需要注意的是,在StoreInfoAction里search(),方法不能有参数,否则,struts2不能匹配。