´«ÖDz¥¿Íjavaѧϰ ½ÌÓý°ì¹«ÏµÍ³2
½ñÌì¼ÌÐøÙ¡ÀÏʦµÄ½ÌÓý°ì¹«ÏµÍ³µÄÂọ́º
1. Ô±¹¤Â¼ÈëµÄ·þÎñÆ÷¶ËµÄ¼òµ¥ÑéÖ¤:
1). ʹÓà struts µÄ validator ¿ò¼Ü
2). ÑéÖ¤¹æÔòͬä¯ÀÀÆ÷¶ËµÄ jQuery µÄ validator ÑéÖ¤.
3). ÒÔ email ×Ö¶ÎΪÀý, ÑéÖ¤¹æÔòΪ·Ç¿Õ, ÇÒ·ûºÏ email ¸ñʽ
2. Ô±¹¤Â¼ÈëµÄ·þÎñÆ÷¶ËµÄ¸´ÔÓÑéÖ¤: ÑéÖ¤µÇ¼ÃûÊÇ·ñÔÚÊý¾Ý¿âÖÐÒѾ´æÔÚ
1). ²ÉÈ¡ÔÚ Action µÄ¶ÔÓ¦·½·¨ÖÐʹÓà ActionMessages µÄ·½·¨.
2). ¿ÉÒÔ²ÉÈ¡ struts µÄÉùÃ÷ʽÒì³£Âð?
3. Ô±¹¤µÄ¼Èë²Ù×÷
1). PY_NAME ÐèÒª¸ù»ù employee_name ×ֶνøÐж¯Ì¬Éú³É, ÐèÒª¶îÍâµÄ¹¤¾ß°ü:
pinyin4j
2). ¿ÉÒÔͨ¹ýϱߵķ½Ê½Îª Employee ¶ÔÏóµÄ position, dept ÊôÐÔ¸³Öµ
Position position = new Position(employee.getPositionid());
Department dept = new Department(employee.getDeptid());
employee.setPosition(position);
employee.setDept(dept);
4. ʹÓà displaytag ¹¤¾ß½øÐзҳ:
1). ÔÚ tomcat µÄ webapps Ŀ¼ÏÂչʾÆäʵÀý.
2). ½â¾ö displaytag ÖÐÎÄÏÔʾµÄÎÊÌâ: ÐÞ¸ÄÆäĬÈϵÄÅäÖÃÎļþ: °Ñ displaytag ±êÇ©¿âÖеÄ
displaytag.properties Îļþ¸´ÖƵ½ conf Ŀ¼ÏÂ, ÐÞ¸ÄÆä¶ÔÓ¦ÐÅÏ¢¼´¿É
5. OpenSessionInView:
1). ΪʲôҪʹÓà OpenSessionInView:
Èô Hibernate ÖÐij¸öÀàµÄij¸öÒýÓÃÊôÐÔ(Ò²°üÀ¨¼¯ºÏÊôÐÔ)²ÉÈ¡ÀÁ¼ÓÔزßÂÔ, Ôò¿ÉÄÜ»á³öÏÖ
org.hibernate.LazyInitializationException
ÔÚÒѾ»ñÈ¡µ½¸Ã¶
Ïà¹ØÎĵµ£º
¶ÔÓÚÕâ¸öϵÁÐÀïµÄÎÊÌ⣬ÿ¸öѧJavaµÄÈ˶¼Ó¦¸Ã¸ã¶®¡£µ±È»£¬Èç¹ûÖ»ÊÇѧJavaÍæÍæ¾ÍÎÞËùνÁË¡£Èç¹ûÄãÈÏΪ×Ô¼ºÒѾ³¬Ô½³õѧÕßÁË£¬È´²»ºÜ¶®ÕâЩÎÊÌ⣬Ç뽫Äã×Ô¼ºÖعé³õѧÕßÐÐÁС£ÄÚÈݾùÀ´×ÔÓÚCSDNµÄ¾µäÀÏÌù¡£
ÎÊÌâÒ»£ºÎÒÉùÃ÷ÁËʲô£¡
String s = "Hello world!";
¡¡Ðí¶àÈ˶¼×ö¹ýÕâÑùµÄÊÂÇ飬µ«ÊÇ£¬ÎÒÃǵ½µ×ÉùÃ÷ÁËʲô£¿»Ø´ðͨ ......
class Global {
public static final String APPNAME= "xyz"; //È«¾Ö³£Á¿
public static String currentUser = "abc"; // È« ......
JAVAÓкöණ¶«
Ç°¼¸Ìì¿´ÁË¿´ ûÔõôͨÃ÷°×
½ñÌìÔ糿3µã45¿´ÁË»á ¹ú¼ÊÃ×À¼ ¿Í³¡ÌôÕ½ ÇжûÎ÷µÄ±ÈÈü
°¥Ñ½ ºÜˬ
ħÁ¦ÄñÖØ·µË¹Ì¹¸£ÇÅ
ÎÒ¾ÍÏë°¡ ÕâJAVA²»ÊÇÓиö»Ø·ÃµÄº¯ÊýÂð
ºÇºÇ ÍüÁ˽ÐɶÁË
°²ÇÐÂåµÙÔÚÃ×À¼Ê±ÆÚ¾³£±»¶¯µÄ°¤µ½Ä§Á¦ÄñµÄ¹ú¼ÊÃ×À¼µÄ´òѹ
ÕâºÎ³¢²»ÊÇJAVAÀïÃæµÄÄǸö¼Ì³ÐÂð
»¹ÓÐ ½ñÌì¹úÃ×ÔÚ·æÏßÉÏʹ ......
Ò»¡¢Ê²Ã´ÊÇ·´É䣺
·´ÉäµÄ¸ÅÄîÊÇÓÉSmithÔÚ1982ÄêÊ×´ÎÌá³öµÄ£¬Ö÷ÒªÊÇÖ¸³ÌÐò¿ÉÒÔ·ÃÎÊ¡¢¼ì²âºÍÐÞ¸ÄËü±¾Éí״̬»òÐÐΪµÄÒ»ÖÖÄÜÁ¦¡£ÕâÒ»¸ÅÄîµÄÌá³öºÜ¿ìÒý·¢Á˼ÆËã»ú¿ÆѧÁìÓò¹ØÓÚÓ¦Ó÷´ÉäÐÔµÄÑо¿¡£ËüÊ×Ïȱ»³ÌÐòÓïÑÔµÄÉè¼ÆÁìÓòËù²ÉÓÃ,²¢ÔÚLispºÍÃæÏò¶ÔÏó·½ÃæÈ¡µÃÁ˳ɼ¨¡£ÆäÖÐLEAD/LEAD++ ¡¢OpenC+ ......