java apiÖÐÎİæÄªÃûÆäÃÁËһЩClass
½ñÌìÔÚÑо¿JAX-WS£¬Å¼È»·¢ÏÖjava6µÄÖÐÎÄAPIÔÚjavax.xml.ws°ü϶ªÁËһЩannotation£¬Ò²ÊǺÜżȻ·¢ÏÖÕâÖÖÇé¿ö£¬ÎÒÔÚдjava´úÂ룬·¢ÏÖ¿ÉÒÔÓõÄannotation£¬µ«ÊÇÔÚÖÐÎÄapiÀïÕÒ²»µ½£¬ºóÀ´ÕÒÁËÒ»ÏÂÓ¢Îİæzpi£¬²Å·¢ÏÖÖÐÎİ涪ÁËһЩannotation£¬ÔÝʱ²»Çå³þ±ðµÄ°üÀïÓÐûÓжªÊ§µÄÇé¿ö¡£ÎÒÊÇʹÓÃÔÚÏßAPI£¬ºóÀ´·¢ÏÖÏÂÔØ°æºÍÔÚÏß°æÒ»Ñù¶ªÁËÕâЩannotation¡£
Ïà¹ØÎĵµ£º
1.´´½¨Îļþ¼Ð
//import java.io.*;
File myFolderPath = new File(%%1);
try {
if (!myFolderPath.exists()) {
myFolderPath.mkdir();
}
}
catch (Exception e) {
System.out.println("н¨Ä¿Â¼²Ù×÷³ö´í");
e.printStackTra ......
49.Îı¾²éÕÒÌæ»»
//import java.nio.*;
String s1=%%1;
String s2=%%2;
String s3=%%3;
int pos=%%4;
/*±äÁ¿iºÍj·Ö±ð±íʾÖ÷´®ºÍģʽ´®Öе±Ç°×Ö·û´®µÄλÖã¬k±íʾƥÅä´ÎÊý*/
int i,j,k=0;
i = pos;
j = 0;
//½«s ......
¹ýÂËÆ÷FilterÒ²¾ßÓÐÉúÃüÖÜÆÚ£ºinit()->doFilter()->destroy()£¬Óɲ¿ÊðÎļþÖеÄfilterÔªËØÇý¶¯¡£ÔÚservlet2.4ÖУ¬¹ýÂËÆ÷ͬÑù¿ÉÒÔÓÃÓÚÇëÇó·ÖÅÉÆ÷£¬µ«ÐëÔÚweb.xmlÖÐÉùÃ÷£¬<dispatcher>INCLUDE»òFORWARD»òREQUEST»òERROR</dispatcher>¸ÃÔªËØÎ»ÓÚfilter-mappingÖС£
Ò»¡¢ÅúÁ¿ÉèÖÃÇëÇó±àÂë
Java´úÂë
publ ......
ÏÖÔÚ³£ÓõĿªÔ´Êý¾ÝÁ¬½Ó³ØÖ÷ÒªÓÐc3p0,dbcpºÍproxoolÈýÖÖ£¬ÆäÖУº
¨ hibernate¿ª·¢×éÍÆ¼öʹÓÃc3p0;
¨ spring¿ª·¢×éÍÆ¼öʹÓÃdbcp (dbcpÁ¬½Ó³ØÓÐweblogicÁ¬½Ó³ØÍ¬ÑùµÄÎÊÌ⣬¾ÍÊÇÇ¿ÐйرÕÁ¬½Ó»òÊý¾Ý¿âÖØÆôºó£¬ÎÞ ......
Àࣺ
·ÃÎÊÐÞÊηû
ÐÞÊηû
class
ÀàÃû³Æ
extends
¸¸ÀàÃû³Æ
implement
½Ó¿ÚÃû³Æ
£¨·ÃÎÊÐÞÊηûÓëÐÞÊηûµÄλÖÿÉÒÔ»¥»»£©
·ÃÎÊÐÞÊηû
Ãû³Æ
˵Ã÷
±¸×¢
public
¿ÉÒÔ±»ËùÓÐÀà·ÃÎÊ£¨Ê¹Óã©
publicÀà±ØÐ붨ÒåÔÚºÍÀàÃûÏàͬµÄͬÃûÎļþÖÐ
package
¿ÉÒÔ±»Í¬Ò»¸ö°üÖеÄÀà·ÃÎÊ£¨Ê¹Óã©
ĬÈϵķÃÎ ......