´«Ö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
ÔÚÒѾ»ñÈ¡µ½¸Ã¶
Ïà¹ØÎĵµ£º
2. ²»Òª×öÖظ´µÄ¹¤×÷¡£
ʹÓó£¼ûµÄ¡¢¾¹ý֤ʵµÄ¿ò¼Ü£¬Èç Apache Struts¡¢JavaServer Faces ºÍ Eclipse RCP¡£Ê¹Óþ¹ý֤ʵµÄģʽ¡£
»Øµ½ÎÒÃÇ¿ªÊ¼°ïÖú¿Í»§Ê¹ÓøճöÏÖµÄ Java EE ±ê×¼µÄʱºò£¬ÎÒÃÇ·¢ÏÖ£¨ºÍÐí¶àÆäËûÈËÒ»Ñù£©£¬Í¨¹ýÖ±½ÓʹÓûù´¡µÄ Servlet ºÍ JSP ¹æ·¶¹¹½¨ UI Ó¦ÓóÌÐòÀ´¿ª·¢Óû§½Ó¿Ú¿ª·¢¿ò¼Ü£¬¿ÉÒÔ¼«´óµØÌḠ......
Java™ÓïÑÔ°üº¬Á½ÖÖÄÚÔÚµÄͬ²½»úÖÆ£ºÍ¬²½¿é£¨»ò·½·¨£©ºÍvolatile±äÁ¿¡£ÕâÁ½ÖÖ»úÖƵÄÌá³ö¶¼ÊÇΪÁËʵÏÖ´úÂëÏ̵߳ݲȫÐÔ¡£ÆäÖÐvolatile±äÁ¿µÄͬ²½ÐԽϲµ«ÓÐʱËü¸ü¼òµ¥²¢ÇÒ¿ªÏú¸üµÍ£©£¬¶øÇÒÆäʹÓÃÒ²¸üÈÝÒ׳ö´í¡£ÔÚÕâÆÚµÄJavaÀíÂÛÓëʵ¼ùÖУ¬Brian Goetz½«½éÉܼ¸ÖÖÕýȷʹÓÃvolatile±äÁ¿µÄģʽ£¬²¢Õë¶ÔÆäÊÊÓÃÐÔÏÞÖÆÌá³öÒ» ......
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......
Ò»¡¢Ê²Ã´ÊÇ·´É䣺
·´ÉäµÄ¸ÅÄîÊÇÓÉSmithÔÚ1982ÄêÊ×´ÎÌá³öµÄ£¬Ö÷ÒªÊÇÖ¸³ÌÐò¿ÉÒÔ·ÃÎÊ¡¢¼ì²âºÍÐÞ¸ÄËü±¾Éí״̬»òÐÐΪµÄÒ»ÖÖÄÜÁ¦¡£ÕâÒ»¸ÅÄîµÄÌá³öºÜ¿ìÒý·¢Á˼ÆËã»ú¿ÆѧÁìÓò¹ØÓÚÓ¦Ó÷´ÉäÐÔµÄÑо¿¡£ËüÊ×Ïȱ»³ÌÐòÓïÑÔµÄÉè¼ÆÁìÓòËù²ÉÓÃ,²¢ÔÚLispºÍÃæÏò¶ÔÏó·½ÃæÈ¡µÃÁ˳ɼ¨¡£ÆäÖÐLEAD/LEAD++ ¡¢OpenC+ ......