- 浏览: 44679 次
最新评论
文章列表
记录下 这两个都是正确的写法
public <T extends Integer> List<T> get(T t)public <T> List<? extends Integer> get(T t)
http://bjbxy.blog.51cto.com/854497/352692
http://future.blog.51cto.com/26959/956166
http://www.cnblogs.com/xia520pi/archive/2012/05/16/2503949.html(重点推荐)
package com.joyveb.lottery.util;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.StringTokenizer;
import org.apache.commons.lang ...
如果iframe套用原页面背景色是white,应用滤镜,可将套用iframe的背景色也应设为white。
为:
iframe写样式如下:
style="filter:
Chroma(Color=white);"
我们就轻松的把iframe背景色去掉了
转载 http://opper.blog.51cto.com/628423/122353
package com.joyveb.addon.hp;
import java.io.StringReader;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
public class Snippet {
public String getMsg(String xml){
SAXReader reader = new SAXReader();
t ...
function initData(pageIndex){
var gameid=$("input[name='gameid']:checked").val();
var startDate = $("#startDate").val();
var endDate = $("#endDate").val();
var params = {
pageIndex: pageIndex,
pageSize: pageSize,
...
package com.joyveb.test;
import java.util.ArrayList;
import java.util.List;
import com.joyveb.addon.common.domain.CoreSltoRecord;
public class ListTest {
public static void main(String[] args) {
List<CoreSltoRecord> list = new ArrayList<CoreSltoRecord>();
CoreSl ...
package com.joyveb.common.utils;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec ...
package com.joyveb.genlotwbos.util;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.p ...
package com.joyveb.common.utils;
import java.net.InetAddress;
public class IDGenerator {
/**
* generateId,生成Id
*
* @return String 返回GUID字符串
*/
public synchronized String generate() {
return new StringBuffer(36).append(IPString).append(JVMString)
...
package com.joyveb.state.utils;
import java.io.File;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.FileEntity;
import org.apache.http.impl.client.De ...
1. // 表格添加双击事件
grid.addListener('celldblclick',function(grid,rowIndex,colIndex,e){
if (colIndex == 8) {
addWindow = new Ext.Window( {
title : '投注号码 ...
cmd 进到 mvn根目录E:\tools\apache-maven-3.0.3
//创建工程
mvn archetype:create -DgroupId=com.joyveb
-DartifactId=MWSCommon
-
DarchetypeArtifactId=maven-archetype-webapp
(红色部分可换)
进到MWSCommon工程的根目录
执行mvn eclipse:eclipse
<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/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
...