1
struts.properties
ファイル内の任意のStruts定数もstruts.xml
に指定できますか?代わりにstruts.xmlに任意のstrutsプロパティを指定できますか?
struts.ognl.logMissingProperties=true
struts.el.throwExceptionOnFailure=false
は、代わりに次のようにstruts.xml
で指定する:これは、環境変数たとえば、プロパティで次の定数を提出でき
で値を設定するために私達を可能にするでしょうか?
<constant name="struts.ognl.logMissingProperties" value="${env.logmissing}"/>
<constant name="struts.el.throwExceptionOnFailure" value="${env.throwExc}"/>