摘要:
public static void main(String[] args) { String staffNums = "P208647,PWANO01,PWANO02"; staffNums = staffNums.replaceAll("\\b", "'"); System.out.printl 阅读全文
摘要:
问题:IE11下请求报错 上面的图片中,我们明确看到这样一行Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986,这句话的大致意思就是说请求头中 阅读全文
摘要:
select * from nst_t_mcu order by field(product,'SMC','RMX2000');//按product字段按SMC、RMX2000的顺序排序 阅读全文
摘要:
String conferName = new RequestContext(request).getMessage("base.conference.name"); 阅读全文
摘要:
IDEA的编码设置中有这么个设置。 作用: Transparent native-to-ascii conversion的意思是:自动转换ASCII编码。他的工作原理是:在文件中输入文字时他会自动的转换为Unicode编码,然后在idea中发开文件时他会自动转回文字来显示。这样做是为了防止文件乱码。 阅读全文
摘要:
my.ini配置文件: sql_mode系统变量中加上 NO_AUTO_VALUE_ON_ZERO 阅读全文
摘要:
package com.xxxxx.util; import java.lang.reflect.Field; import javax.naming.NamingException; import org.springframework.aop.framework.ProxyFactory; im 阅读全文
摘要:
1、jsp文件引入 <script type="text/javascript"> var i18n=new Object(); i18n['day']='<spring:message code="homePage.day"/>'; i18n['week']='<spring:message co 阅读全文
摘要:
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basename" value="config.property.i18 阅读全文
摘要:
https://blog.csdn.net/haoshuai2015/article/details/84398568 阅读全文