must end with the ';' delimiter.错误的解决
在配置文件中直接用&的话,会产生must end with the ';' delimiter.错误。
<action name="add" method="add" class="com.entity.NodeAction">
<result type="redirect">edit.action?id=${id}&next=${next}</result>
</action>
<property name="connection.url">
jdbc:mysql://localhost:3306/my?useUnicode=true&characterEncoding=utf-8
</property>
正确的做法是:把**&换成&**
<action name="add" method="add" class="com.entity.NodeAction">
<result type="redirect">edit.action?id=${id}&next=${next}</result>
</action>
<property name="connection.url">
jdbc:mysql://localhost:3306/my?useUnicode=true&characterEncoding=utf-8
</property>
XML其他字符的转换: < 换成 < > 换成 > ' 换成 ' " 换成 "