摘要:
if 和where 动态sql(所有都要+and) <select id="xx" resultMap="xx"> select * from user <where> <if test="xx!=' ' and xx!=null"> and xxx like concat ('%',#{xxx}, 阅读全文
摘要:
http://blog.csdn.net/qq_33556185/article/details/51852537 阅读全文
摘要:
在log4j中添加 <span style="font-size:12px;">log4j.rootLogger = ${log.level},Console,default,allfile log4j.logger.com.ibatis=debug log4j.logger.java.sql=de 阅读全文
摘要:
The content of elements must consist of well-formed character data or markup. 特殊字符有: < 小于号 ,>大于号等 要用 <![CDATA[ select * from tb_users where id<=100 ]] 阅读全文
摘要:
SpringMVC FM标签 <%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %> struts2 s标签(ui) <%@ taglib prefix="s" uri="/struts-tags" %> 阅读全文
摘要:
SimpleDateFormat df = new SimpleDateFormat("dd-MM月-yyyy hh.mm.ss"); df.format(需要格式化的时间变量名); 阅读全文
摘要:
package fiter; import java.io.File;import java.io.IOException; import javax.servlet.Filter;import javax.servlet.FilterChain;import javax.servlet.Filte 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sch 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache 阅读全文
摘要:
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.so 阅读全文