`
minfirefox
  • 浏览: 83382 次
  • 性别: Icon_minigender_1
  • 来自: 太原
社区版块
存档分类
最新评论

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>



正确的做法是:&换成&amp;
<action name="add" method="add" class="com.entity.NodeAction">
	<result type="redirect">edit.action?id=${id}&amp;next=${next}</result>
</action>

<property name="connection.url">
	jdbc:mysql://localhost:3306/my?useUnicode=true&amp;characterEncoding=utf-8
</property>





XML其他字符的转换:

< 换成 &lt;
> 换成 &gt;
' 换成 &apos;
" 换成 &quot;
分享到:
评论

相关推荐

    iso-iec 14496-10(3rd_2006-03-01)_MPEG4_AVC_H264.pdf

    0.6 Overview of the design characteristics ............................................................................................................... xv 0.6.1 Predictive coding .....................

    MySql中 delimiter 详解.docx

    其实就是告诉mysql解释器,该段命令是否已经结束了,mysql是否可以执行了。默认情况下,delimiter是分号;。在命令行客户端中,如果有一行命令以分号结束,那么回车后,mysql将会执行该命令。

    Radmin自动登录器v3.0-多国语言绿色版-Release1-20150615

    * 支持Home、End、PageUp、PageDown等操作。 3、登录信息文件RadminM.txt介绍 (1)、RadminM.txt内容说明 登录信息存放在RadminM.txt文件中,若没有会自动创建,密码用RC4加密,请用户注意保管。RadminM.txt是...

    Radmin自动登录器v3.0

    * 支持Home、End、PageUp、PageDown等操作。 3、登录信息文件RadminM.txt介绍 (1)、RadminM.txt内容说明 登录信息存放在RadminM.txt文件中,若没有会自动创建,密码用RC4加密,请用户注意保管。RadminM.txt是...

    SQLSERVER2008中CTE的Split与CLR的性能比较

    /// &lt;/summary&gt; /// ”str”&gt;The STR.&lt;/param&gt; /// ”delimiter”&gt;The delimiter.&lt;/param&gt; /// &lt;returns&gt;&lt;/returns&gt; /// 1/8/2010 2:41 PM author: v-pliu [SqlFunction(Name = “CLR_Split”,

    node.js中的path.delimiter方法使用说明

    path.delimiter 由于该方法属于path模块,使用前需要引入path模块(var path= require(“path”) ) 接收参数: 无 例子: 代码如下: //在 *nix 系统上的例子:   console.log(process.env.PATH) // ‘/usr/bin:...

    端口查看工具

    the tray icon option, one click on the tray icon with the left mouse button will open CurrPorts. (Without this option, double-click is required) * Version 1.75: o Added 'Exclude Selected ...

    CSV.rar_In Writing_as3 csv

    AS3 CSV reading/writing. Supports full CSV format included escape sequences and embedded characters. Configurable delimiter. Default is quote. Working in production code.

    详解 Mysql中的delimiter定义及作用

    初学mysql时,可能不太明白delimiter的真正用途,delimiter在mysql很多地方出现,比如存储过程、触发器、函数等。 学过oracle的人,再来学mysql就会感到很奇怪,百思不得其解。 其实就是告诉mysql解释器,该段命令...

    曲线拟合工具CurveExpert 1.0

    added points onto the end of the data set. Fixed. + If a graph window was closed and then reopened (except after a CurveFinder operation), the comments in the Graph Info dialog were not correct. ...

    Delphi7.1 Update

    visit the Borland Registered User web site to obtain a localized readme file that may contain important late- breaking information not included in this readme file.IMPORTANT: Delphi must be closed ...

    DW商用版高级分页插件

    The delimiter in all three behaviors is user-defined and can be an image. The Navigation Links behavior has user-defined text for each link. These can also be images. For more information, click the ...

    EMS.Advanced.Data.Export.VCL.v4.9.0.1.Full.Source

    When removing a delimiter in the Formats property, it was replaced by #0 in the corresponding format masks. Fixed now. 10. QExport4DBF. While exporting the TWideMemoField fields were recorded in ...

    tailfeather:精美打印日志文件

    -output-delimiter="\t": Output field delimiter. 通过STDIN传递输入。 例如,如果您有一个用逗号分隔的日志文件LOGFILE.log,并且您想继续使用逗号分隔的日志文件进行打印,并使用制表符分隔的字段,请执行以下...

    grub4dos-V0.4.6a-2017-02-04更新

    解决了 chainloader --raw 不能加载硬盘 BPB hidden sectors=0 的引导扇区的问题。也是英文论坛报告的。 3.清除 ud 启动后残留信息使后续启动不再被重复识别为 ud 启动(因为后续启动本来就不再是从 ud 启动)。 ...

    JavaScript and JSON Essentials

    The book follows a tutorial-based approach and will teach you how to work with JSON tools, design JSON objects, and how to use different techniques to handle JSON data. Who this book is written for ...

    StringToken

    Commonly used string structures that require the use of string tokenization are Comman Seperated Values (CSV), written text and basically any other format of data grouping where differing units of ...

    HEVC 最新标准draft10(2013.1)

    HEVC最新标准draft10,较之前有了改动

    MySQL数据库:流程控制语句if.pptx

    END IF IF语句 DELIMITER $$ CREATE PROCEDURE COMPAR (IN K1 INTEGER, IN K2 INTEGER, OUT K3 CHAR(6) ) BEGIN IF K1&gt;K2 THEN SET K3= '大于'; ELSEIF K1=K2 THEN SET K3= '等于'; ELSE SET K3= '小于'; END IF; ...

Global site tag (gtag.js) - Google Analytics