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
Ïà¹ØÎĵµ£º
ÏîÄ¿ÊÇ»ùÓÚGMTʱ¼äµÄ£¬ÔÚϵͳÆô¶¯µÄʱºò£¬ÎÒÃǾͻáµ÷ÓÃTimeZone.setDefault(timeZone)½«Ä¬ÈÏʱÇøÉèΪGMT¡£
ºóÀ´Í»È»·¢ÏÖ£¬ÓÐʱÓû§Ñ¡ÔñµÄʱ¼ä¾¹ýºǫ́һȦºó»Ø²úÉú8¸öСʱÎó²î¡£ÓÖÊǼäЪÐԵģ¬ÒªËûÖØÏÖµÄʱºòÓÖÆ«²»À´¡£¿àÐÄdebug£¬ÖÕÓÚ·¢ÏÖÔÚ²¿·ÖÏß³ÌÖУ¬Ê±Çø»¹ÊÇGMT+8£¬ºǫ́ij¸öµ÷ÓÿÉÄÜ°ÑʱÇø ......
PROCEDURE user_Login (
i_AuthID IN user_UserPass.UserID%TYPE, --Óû§´úÂë
i_FunctionCode IN &n ......
¸Õ²Å¿´¼ûȺÀïµÄÒ»¸öÅóÓÑÔÚÎʶÓÁеÄʹÓã¬È·ÊµÔÚÏÖʵµÄд´úÂëÖкÜÉÙʹÓöÓÁеģ¬·´ÕýÎÒÊÇ´ÓÀ´Ã»Ê¹Óùý¡£Ö»ÊÇѧÊý¾Ý½á¹¹µÄʱºòѧ¹ý¡£
ÏÂÃæÊÇÎÒдµÄÒ»¸öСÀý×Ó£¬Ï£ÍûÓв»×ãÖ®´¦ÇëÌá³ö¸ÄÕý¡£O(∩_∩)O~
¿´´úÂ룺
import java.util.LinkedList;
import java.util.Queue;
public class TestQueue
{
/**
* @param ......
2. ²»Òª×öÖظ´µÄ¹¤×÷¡£
ʹÓó£¼ûµÄ¡¢¾¹ý֤ʵµÄ¿ò¼Ü£¬Èç Apache Struts¡¢JavaServer Faces ºÍ Eclipse RCP¡£Ê¹Óþ¹ý֤ʵµÄģʽ¡£
»Øµ½ÎÒÃÇ¿ªÊ¼°ïÖú¿Í»§Ê¹ÓøճöÏÖµÄ Java EE ±ê×¼µÄʱºò£¬ÎÒÃÇ·¢ÏÖ£¨ºÍÐí¶àÆäËûÈËÒ»Ñù£©£¬Í¨¹ýÖ±½ÓʹÓûù´¡µÄ Servlet ºÍ JSP ¹æ·¶¹¹½¨ UI Ó¦ÓóÌÐòÀ´¿ª·¢Óû§½Ó¿Ú¿ª·¢¿ò¼Ü£¬¿ÉÒÔ¼«´óµØÌḠ......