`
caniggia1986
  • 浏览: 149930 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
//拦截器 package me.yourname.webservice.cxfinterceptor; import java.lang.reflect.Method; import org.apache.cxf.frontend.MethodDispatcher; import org.apache.cxf.interceptor.Fault; import org.apache.cxf.message.Exchange; import org.apache.cxf.message.Message; import org.apache.cxf.phase.Abstrac ...
/** regexp-validate-data.js **/ function anyChar(str) { /* Verify at least one nonspace character * or string of characters * Return boolean */ return /\S+/.test(str); }//eof - anyChar function anyWord(str) { /* Verify at least one word character * ...
//去除字符串空格 /*** Start of Modify ***/ function ltrim(str){ /* Trims leading spaces - returns string * Returns trimmed string */ return str.replace(/^\s+/, ''); }//eof - ltrim function rtrim(str) { /* Trims trailing spaces - returns string * Returns trimmed strin ...

HTTP协议header头域

    博客分类:
  • html
http://www.iwms.net/n2030c40.aspx
http://www.360doc.com/content/09/0323/19/26262_2895107.shtml http://towson.blog.51cto.com/325996/84417 http://icemoon.iteye.com/blog/105499 http://www.blogjava.net/hanhonl/archive/2008/05/26/202928.html
var s = "2005-12-15 09:41:30"; var d = new Date(Date.parse(s.replace(/-/g, "/"))); http://docs.jquery.com/UI/Datepicker/$.datepicker.formatDate 也能实现 //stackoverflow上找到的一段代码,js中date function printDate() { var temp = new Date(); var dateSt ...
对URL传参的转换 encodeURI(encodeURI()) http://www.w3school.com.cn/js/jsref_encodeuri.asp
Global site tag (gtag.js) - Google Analytics