- 浏览: 152000 次
- 性别:
- 来自: 上海
最新评论
-
lglhlg:
拦截器里 super(Phase.USER_LOGICAL) ...
CXF拦截器获取调用方法名 -
DavyJones2010:
其实这种解决方案就是我们所说的"数字信封" ...
RSA非对称加密内容长度限制解决办法 -
glyustb:
MethodDispatcher md = (MethodDi ...
CXF拦截器获取调用方法名 -
haojie_java_ms:
谢谢,用上了。
NumberFormat使用
文章列表
//拦截器
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://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