原来的是:
<s:form action="/money/transfer"> <s:token/> <s:textfield label="Amount" name="amount" value="100"/> <s:submit value="Transfer money" /> </s:form>
我改成这样就不报了:
<s:form action="transfer" namespace="/money"> <s:token/> <s:textfield label="Amount" name="amount" value="100"/> <s:submit value="Transfer money" /> </s:form>