Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java Ïà¶Ô·¾¶ ¾ø¶Ô·¾¶ classes bin ¸ùĿ¼

³¢ÊÔÓÃDOM4j½âÎöspringÅäÖÃÎļþʱ,µÚÒ»²½¶ÁÈ¡Îļþʱ£¬»ñȡ·¾¶¾ÍÓöµ½ÁËÎÊÌ⣬¡£¡£¡£¾­¹ýgoogleÁËn+log n ´Î¸öÒ³Ã棬²ÅËãÓÐÁ˸ö´ÖdzµÄÈÏʶ£¬ÏÂÃæ¾ÍÈÃÎÒÓüò¶ÌµÄ»°ÓïÀ´×ܽáһϣ¨ºÃÏñÕâ¶Î¾ÍÈ«ÊÇ·Ï»°¡£¡£¡££©¡£¡£¡£
1¡¢springµÄÅäÖÃÎļþ´æ·ÅλÖÃÓÉweb.xmlÀïµÄcontextConfigLocationÀ´È·¶¨£¬Ò»°ãÊÇ·ÅÔÚweb-inf»òÕßÊÇsrc¸ùĿ¼ÏÂ
2¡¢¹ØÓÚsrcÎļþ¼ÐÀïµÄÎļþµÄ·¢²¼:source folderϵÄ.javaÎļþ£¬Éú³ÉµÄ.classÎļþ·ÅÔÚoutput folderÖС£¶ø½«source folderÖеķÇ.javaÎļþÖ±½Ó¿½±´µ½output folder£¨eclipse»áÖ±½Ó¿½±´È«²¿µÄ·Ç.javaÎļþ£¬intellij IDEA¿ÉÒÔÅäÖÿ½±´ÄÄЩÀ©Õ¹ÃûµÄÎļþ£©¡£ outputÎļþ¼ÐÒ»°ãÖ¸µÄÊÇc/sµÄbinºÍb/sµÄclasses¡£
3¡¢ÓÃSAXReader.reader¶ÁȡʱÐèÒªÖªµÀÎļþµÄ·¾¶ ¡£
ÎÒÁгöÒ»¶Î´úÂ룬´ó¼Ò¸ÐÊÜһϰÉ
System.out.println(this.getClass().getClassLoader().getResource("com/lavasoft/res/a.txt"));
System.out.println(this.getClass().getResource("/com/lavasoft/res/a.txt"));
System.out.println(this.getClass().getResource("").getPath());
System.out.println(this.getClass().getResource("/").getPath());
System.out.println(this.getClass().getClassLoader().getResource("").getPath());
System.out.println(Thread.currentThread().getContextClassLoader().getResource("").getPath());
System.out.println(System.getProperty("user.dir")); 
getclass()Êǵ±Ç°µÄÀàʵÀý£¬µÃµ½µÄÊÇsrcϵ±Ç°ÀàµÄĿ¼£»getclassloader()ÊÇÀàµÄ×°ÔØÆ÷£¬µÃµ½µÄÊÇsrc¸ùĿ¼¡£"/"±íʾµÄÊǸùĿ¼¡£
web-infĿ¼ÈçºÎÈ¡µÃ»¹ÔÚÃþË÷ÖУ¬¸÷λÓÐÖªµÀµÄ£¬Çë²»Áߴͽ̡£
×îºóÌùһƪÎҸоõ×ܽáµÃºÜºÃµÄÎÄÕ£º
http://imyself.javaeye.com/blog/460706
ÔÙÀ´Ò»Æª Àà¼ÓÔØ·¾¶ Ô­ÀíµÄÎÄÕ jwitch£º
http://www.blogjava.net/Unmi/archive/2007/09/10/144101.html
»¹ÓÐÕâƪҲÐèÒªÑо¿Ò»Ï£º
http://www.javaeye.com/topic/7871


Ïà¹ØÎĵµ£º

JavaʱÇøbug£¬TimeZone.setDefault()Ö»ÔÚµ±Ç°Ïß³ÌÓÐЧ

   ÏîÄ¿ÊÇ»ùÓÚGMTʱ¼äµÄ£¬ÔÚϵͳÆô¶¯µÄʱºò£¬ÎÒÃǾͻáµ÷ÓÃTimeZone.setDefault(timeZone)½«Ä¬ÈÏʱÇøÉèΪGMT¡£
   ºóÀ´Í»È»·¢ÏÖ£¬ÓÐʱÓû§Ñ¡ÔñµÄʱ¼ä¾­¹ýºǫ́һȦºó»Ø²úÉú8¸öСʱÎó²î¡£ÓÖÊǼäЪÐԵģ¬ÒªËûÖØÏÖµÄʱºòÓÖÆ«²»À´¡£¿àÐÄdebug£¬ÖÕÓÚ·¢ÏÖÔÚ²¿·ÖÏß³ÌÖУ¬Ê±Çø»¹ÊÇGMT+8£¬ºǫ́ij¸öµ÷ÓÿÉÄÜ°ÑʱÇø ......

javaµ÷ÓÃOracleÓû§µÇ¼´æ´¢¹ý³Ì

PROCEDURE user_Login (
      i_AuthID         IN       user_UserPass.UserID%TYPE,        --Óû§´úÂë
      i_FunctionCode   IN &n ......

Java ÖжÓÁеÄʹÓÃ

¸Õ²Å¿´¼ûȺÀïµÄÒ»¸öÅóÓÑÔÚÎʶÓÁеÄʹÓã¬È·ÊµÔÚÏÖʵµÄд´úÂëÖкÜÉÙʹÓöÓÁеģ¬·´ÕýÎÒÊÇ´ÓÀ´Ã»Ê¹Óùý¡£Ö»ÊÇѧÊý¾Ý½á¹¹µÄʱºòѧ¹ý¡£
ÏÂÃæÊÇÎÒдµÄÒ»¸öСÀý×Ó£¬Ï£ÍûÓв»×ãÖ®´¦ÇëÌá³ö¸ÄÕý¡£O(∩_∩)O~
¿´´úÂ룺
import java.util.LinkedList;
import java.util.Queue;
public class TestQueue
{
/**
* @param ......

×îÖØÒªµÄ Java EE ×î¼Ñʵ¼ù 2. ²»Òª×öÖظ´µÄ¹¤×÷¡£


2. ²»Òª×öÖظ´µÄ¹¤×÷¡£
ʹÓó£¼ûµÄ¡¢¾­¹ý֤ʵµÄ¿ò¼Ü£¬Èç Apache Struts¡¢JavaServer Faces ºÍ Eclipse RCP¡£Ê¹Óþ­¹ý֤ʵµÄģʽ¡£
»Øµ½ÎÒÃÇ¿ªÊ¼°ïÖú¿Í»§Ê¹ÓøճöÏÖµÄ Java EE ±ê×¼µÄʱºò£¬ÎÒÃÇ·¢ÏÖ£¨ºÍÐí¶àÆäËûÈËÒ»Ñù£©£¬Í¨¹ýÖ±½ÓʹÓûù´¡µÄ Servlet ºÍ JSP ¹æ·¶¹¹½¨ UI Ó¦ÓóÌÐòÀ´¿ª·¢Óû§½Ó¿Ú¿ª·¢¿ò¼Ü£¬¿ÉÒÔ¼«´óµØÌḠ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ