Java获取远程客户端MAC地址

package com.ijson.remote.util.mac;import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;import java.net.SocketException;import java.net.SocketTimeoutException;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;/** * * 主机A向主机B发送“UDP-NetBIOS-NS”询问包,即向主机B的137端口,发Query包来询问主机B的NetBIOS Names信息。 * * 其次,主机B接收到“UDP-NetBIOS-NS”询问包, * * 假设主机B正确安装了NetBIOS服务........... 而且137端口开放, * * 则主机B会向主机A发送一个“UDP-NetBIOS-NS”应答

Value '0000-00-00' can not be represented as java.sql.Timestamp

数据库字段为datetime类型时默认值为:0000-00-00 00:00:00 mysql 数据库字段为datetime类型时默认值为:0000-00-00 00:00:00 查询时异常 java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date 解决方法在url后添加 &zeroDateTimeBehavior=convertToNull datasource.url=jdbc:mysql://localhost:3306/pe?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull

Windows 2003 破解码

通用性好的win2003序列号: (推荐先用这个里面的) FJ8DH-TQPYG-9KFHQ-88CB2-Y7V3Y     GRD4P-FTQQF-JCDM8-4P6JK-PFG7M  JD7JX-KCDTH-7WH4X-DM98R-GD73Y  GM34K-RCRKY-CRY4R-TMCMW-DMDHM  BRBJB-B7HQF-YW93Y-RVJVB-K6PMB  F9389-7TWW4-88YYH-RKPFJ-6PV3Y  F947R-VPGDF-RTDK7-WTMBY-PP67M  D4Q7H-MPPR2-23PMH-HQGBG-6X8YB  KW8GQ-DJH7F-6XH6Y-WG3BH-FK8YB  DG473-GKX4K-XVPDY-FCCWH-29G7M  DKDT4-PFCVX-FJ4CR-7W9D6-C7JYB  GPTJB-VMDRP-XCG6H-KGW32-8KMQY  J47YP-KMK8W-FR76X-KFVB6-FJ3HM  KPM7R-RY44D-PVQYG-JFRH9-WKG7M  FMQBH-FRQWB-DRF3T-VT2JF-WR8YB  CMP