Set the alwaysSelectFullNamespace
property to true
.
From struts-default.properties
:
### Whether to always select the namespace to be everything before the last slash or not
struts.mapper.alwaysSelectFullNamespace=true
XML configuration is preferred, so in your struts.xml
:
<struts>
<constant name="struts.mapper.alwaysSelectFullNamespace" value="true" />
...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…