を含めることはできませんそして、私はstrutsAuthentication.xmlの中で必要なすべてのアクションを指定しました。このコードは次のとおりです。struts2.xmlは、私は私のstruts.xmlファイルは次のようなコードが含まれていることのために、Struts2のを使用しています他の.xmlファイル
<struts>
<package name="authentication" extends="default" namespace="/authentication">
<action name="saveCountry" class="saveCountryAction">
<interceptor-ref name="defaultStack" />
<result name="success">/savecountry.jsp</result>
<result name="error">/error.jsp</result>
</action>
</package>
私はTomcatの中に自分のアプリケーションを展開しています、それはその警告私を与える:
ははWARN(org.apache.struts2.components.Form:308) - 無指定されたアクションの設定が見つかりました: 'saveCountry' in namespace: ''。 「アクション」属性のリテラル値をデフォルトとするフォームアクション。
つまり、struts.xmlにstrutsAuthentication.xmlを含めることはできません。誰でも解決策がありますか? Thanx in advance ....