jsp 留言系统try { Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance() } catch (InstantiationException e) { // TODO Auto-generated catch block e.printStackTrace() } catch (IllegalAccessException e) { // TODO Auto-generated catch block e.printStackTrace() } catch (ClassNotFoundException e) { // TODO Auto-generated catch block System.out.println("Driver not found") }
标签: SQLServerDriver newInstance microsoft sqlserver
上传时间: 2014-07-10
上传用户:开怀常笑
The NetBeans IDE has seen adoption snowballing over the past years, particularly with the introduction of a completely new, rewritten, slick Java editor. You’ll fnd this reference card helpful if you want to get as much out of the Java editor as its authors intended when creating it. It lists all the keyboard shortcuts in carefully thought out categories and it provides a thorough exposition of optimal handling of Java code in the editor, covering viewing, navigation, source handling, and refactoring. Get NetBeans IDE: http://www.netbeans.org/downloads
标签: particularly snowballing the NetBeans
上传时间: 2014-01-23
上传用户:气温达上千万的
-- Hamming Decoder -- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single error correction and double error detection. -- download from: www.pld.com.cn & www.fpga.com.cn LIBRARY ieee USE ieee.std_logic_1164.ALL ENTITY hamdec IS PORT(hamin : IN BIT_VECTOR(0 TO 7) --d0 d1 d2 d3 p0 p1 p2 p4 dataout : OUT BIT_VECTOR(0 TO 3) --d0 d1 d2 d3 sec, ded, ne : OUT BIT) --diagnostic outputs END hamdec ARCHITECTURE ver1 OF hamdec IS BEGIN
标签: Hamming produced Decoder decoder
上传时间: 2017-07-15
上传用户:520
String int 字符串常量池 包装类型 函数参数 值传递引用传递 的 内存分配例子——源码 代码段: public static void fun_ref (Ref_test ref_out){ Ref_test ref_in=new Ref_test() ref_in.s1="in" //ref_out.s1="out" ref_out=ref_in //漏洞!!ref_out 指向ref_in , //那么当函数退出后,ref_out就会自动指向原来的堆!!! System.out.println("fun_ref() ref_out.s1="+ref_out.s1) }
标签: Ref_test fun_ref String public
上传时间: 2013-12-27
上传用户:ls530720646
java 线程 静态锁,对象锁, synchronized 是锁方法还是锁对象?还是锁类?如何实现?? 部分代码如下, public static Object lock=new Object() //静态锁,锁类,不是锁对象了!!所以两个线程同时 运行两个 TestThread 的execute( ),也可以同步!!! public void execute(){ // synchronized(lock){ for(int i=0 i<20 i++){ try { Thread.sleep(30) } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace() } System.out.println(Thread.currentThread().getName()+Thread.currentThread ().getName()+" "+i) } } }
上传时间: 2017-07-15
上传用户:lijianyu172
fantastic j2me user interface designer for midp2.0 cldcd 1.1. Works on many phones as a generic application. This is not my own software but for those who don t know it already: check it out. There s a super cool sample application that shows you all of the amazing possibilities for your phone.
标签: fantastic interface designer generic
上传时间: 2014-01-17
上传用户:ecooo
Two scripts are included here. 1. convsys.m - combines the state space representation of two systems connected in series. [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2) This algorithm gives the convolution of two state space representations | A1 B1 | | A2 B2 | u ==> | | ==> | | ==> y | C1 D1 | | C2 D2 | The algorithm also accepts state space objects as inputs and gives out a state space object as output. 2. sysfeedbk.m [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2) Gives the closed loop state space representation for two systems connected with negative feedback in the following manner. | A1 B1 | u ==> | | ==> y + o | C1 D1 | | - | | | | A2 B2 | | |= | |= | | C2 D2 | The zip file also contains checkcompatibility.m , which checks the compatibility of matrix dimensions in the system and cleanss.m which can be used to clean a state space representation.
标签: representation included combines scripts
上传时间: 2017-07-25
上传用户:semi1981
After decades of war one company, who had gained powerful supplying both sides with weaponary, steps forwards and crushes both warring factions in one swift movement. Using far superior weaponary and AI craft, the company was completely unstoppable and now no one can stand in their way. Thousands began to perish under the iron fist of the company. The people cried out for a saviour, for someone to light this dark hour... and someone did.
标签: supplying weaponary powerful decades
上传时间: 2013-12-02
上传用户:cx111111
Enlarge java script is used to enlarge a picture in to the original size, and gives the flexibility on mouse over and mouse out.
标签: flexibility the original Enlarge
上传时间: 2014-01-16
上传用户:ljmwh2000
M16C interrupt settings and Initial code setting for HEW4 for renesas M16c...I coded and optimized. It will savr time to start a new app. (-:cool:-)
标签: interrupt and for optimized
上传时间: 2014-11-22
上传用户:小草123