日期:2014-05-20 浏览次数:20717 次
<struts> <constant name="struts.devMode" value="true" /> <package name="base" namespace="/" extends="struts-default"> <default-action-ref name="index"></default-action-ref> <action name="index" class="com.luger.blog.action.BlogAction" method="blogIndex"> <result>/blogIndex.jsp</result> </action> </package> <package name="article" namespace="/" extends="base"> <!-- <default-action-ref name="Blog--blogIndex"></default-action-ref> --> <action name="*--*" class="com.luger.blog.action.{1}Action" method="{2}"> <result> /{1}--{2}.jsp </result> </action> </package> </struts>