- 浏览: 2565 次
最新评论
文章列表
mybatis在xml文件中处理大于号小于号的方法
第一种方法:
用了转义字符把>和<替换掉,然后就没有问题了。
SELECT * FROM test WHERE 1 = 1 AND start_date <= CURRENT_DATE AND end_date >= CURRENT_DATE
附:XML转义字符
jspx文件
jspx:以xml语法来书写jsp的文件,自定义的映射类型, jspx = jsp + XML
A JSP document is a JSP page written in XML syntax as opposed to the standard syntax described.Because it is written in XML syntax, a JSP document is also an XML document and therefore ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ma ...