´«ÖDz¥¿ÍJavaÅàѵ Servlet
ÔçÉÏÆð´²ÓеãÍíÁË£¬µ½Ñ§Ð£µÃʱºò¶¼8£º50ÁË£¬Ò»½ø½ÌÊÒ¿´¼ûÕÅТÏéÀÏʦÔÚ½ÌÊÒÀï¸øͬѧÃǽâ¾öÎÊÌ⣬²»¼ûÁËÀϱϵÄÉíÓ°£¬»¹ÒÔΪ×ß´í½ÌÊÒÁËÄØ£¬°´Àí˵Õâ¸öʱºòÀϱÏÓ¦¸ÃÔçÀ´Á˲ÅÊÇ£¬Ò»ÎʲÅÖªµÀÊDZÏÀÏʦ²¡ÁË,È¥Ò½Ôº¼ì²éÈ¥ÁË£¬Ï£Íû±ÏÀÏʦÄÜÔçµãºÃÆðÀ´£¡
½ñÌìÊÇÕÅÀÏʦ¸øÎÒÃÇÉϿΣ¬ÉîÈëÆÊÎöservlet£¬ÔÚûÀ´´«ÖDz¥¿Í֮ǰ¿´¹ý²»ÉÙÒÔÇ°ÕÅÀÏʦµÄÊÓƵ£¬ÒòΪÄÇЩÊÓƵ¶¼±È½ÏÀÏ£¬¶øÇÒÄÇʱºòÕÅÀÏʦ¼ÊÓƵµÄʱºò²»ÏñÏÖÔÚÒ»Ñùµ×ÏÂÓÐѧÉú»¥¶¯£¬¶¼ÊÇ×Ô¼º¶Ô×ŵçÄÔ¼µÄ£¬ËäȻ֪ʶ½²½âµÄȷʵ·Ç³£ÏêϸȫÃ棬µ«¾ÍÊÇÆø·ÕÂÔÏÔ³ÁÃÆ£¬ÎÒÓÐʱ¿´×Å¿´×žÍ˯×ÅÁË£¬ÓôÃÆ£¬ºÇºÇ£¬µ«ÊǽñÌìÒ»ÉÏ¿ÎÖ®ºó¾Í·¢ÏÖÏÖÔÚÕÅÀÏʦµÄ½²¿Î·½Ê½±ä»¯Á˺ܶ࣬±ÈÒÔÇ°¸ü¼ÓÓм¤ÇéÁË£¬Ã¿Óöµ½Ò»¸öÎÊÌâ×ÜÊÇÏȸøÎÒÃÇ·ÖÎö½âÌâ˼·£¬½ÌÎÒÃǽâ¾öÎÊÌâµÄ·½·¨£¬ÓÉÒ×µ½ÄÑ£¬ÑÐò½¥½ø£¬ÔÙ¸´ÔÓµÄÎÊÌâ´ÓÀÏʦÄÇÀï¸øÎÒÃÇ·ÖÎö³öÀ´ºó¶¼±äµÄ¼òµ¥Ò׶®ÁË£¬ÔÀí½²½âµÄ¸ü¼Ó͸³¹ÈÝÒ×Àí½â£¬»¹½áºÏÁËÐí¶àÆóÒµÃæÊÔ·½ÃæµÄÎÊÌâÒÔ¼°ÔÙÆóÒµÖпª·¢ÐèҪעÒâµÄÎÊÌ⣬½ñÌìËãÊÇÕæÕý¼ûʶµ½ÁË´óʦ¼¶ÈËÎïµÄÀ÷º¦ÁË£¡È·ÊµÃû²»Ðé´«£¡»¹ÓнñÌì½²¿Î¾ÓÈ»ÊÇÍøÂçÖ±²¥£¬ºÜ¶àÍøÉϵÄÅóÓѸúÎÒÃÇÒ»ÆðÉϿΣ¬¿ÎÌÃÆø·Õ·Ç³£»îÔ¾£¬´ó¼ÒÈç¹ûÏëÁìÂÔÒ»ÏÂÕÅÀÏʦµÄ·ç²ÉµÄ»°¿ÉÒÔ´ÓÃ÷Ì쿪ʼµ½17ºÅÕ⼸Ìì(³ýÁË14ºÅ£¬ÒòΪҪÐÝÏ¢)µÄÔç9µãµ½ÏÂÎç5µãµÇ½http://itcast.diyihui.com/tc/¸úÎÒÃÇÒ»ÆðÉϿΣ¬ºÇºÇ£¬»¶Ó¼ÓÈ룡
ÍíÉÏ»ØÇÞÊÒÁ·Ï°ÁËÒ»ÏÂÉϿεĴúÂëºÍÀÏʦÁôϵÄ×÷Òµ£¬ÓÖ°ÑÊÓƵÀïÃæµÄÖصãÄÚÈݻعËÁËһϣ¬ÊÕ»ñÆÄ·á!ÏÂÃæ¼òµ¥×ܽáһϽñÌìÄÚÈÝ°É£¬¶¼ÒѾ3µãÁË£¬Ö»ÄÜд¸öÌá¸ÙÁË£¬ÒòΪ½ñÌì½²µÄ¶«Î÷Ì«¶àÍíÉÏ»¹ÒªË¯¼¸¸öСʱ£¬ºÃÑøºÃ¾«Éñ°×Ìì¼ÌÐø·Ü¶·¡£
Servlet¹¤×÷ÔÀí:
ServletÊÇ·þÎñ¶ËµÄ×é¼þ£¬servletÔËÐÐÔÚservletÈÝÆ÷ÖУ¬±ÈÈçtomcat,ÔÚÊÕµ½¿Í»§¶ËÇëÇóµÄʱºò£¬ÈÝÆ÷°ÑÇëÇóÐÅÏ¢·âװΪRequest¶ÔÏ󣬲¢´´½¨Response¶ÔÏó£¬ ´«¸øserletµÄservice()·½·¨£¬ÕæÕýҪʵÏֵŦÄÜ¿ÉÒÔÔÚservice()µ÷ÓÃjava´úÂë¡£
³£ÓÃÀàºÍ½Ó¿Ú£º
ServletConfig½Ó¿Ú ---- ÔÚ³õʼ»¯¹ý³ÌÖÐÓÉServletÈÝÆ÷ʹÓÃ
ServletContext½Ó¿Ú ---- ¶¨ÒåServletÓÃÓÚ»ñÈ¡ÈÝÆ÷ÐÅÏ¢µÄ·½·¨
ServletRequest½Ó¿Ú ---- Ïò·þÎñÆ÷ÇëÇóÐÅÏ¢
ServletResponse½Ó¿Ú ---- ÏìÓ¦¿Í»§¶ËÇëÇó
Servlet½Ó¿Ú ---- ¶¨ÒåËùÓÐServlet±ØÐëʵÏֵķ½·¨
GenericServletÀà ---- ³éÏóÀ࣬¶¨ÒåÒ»¸öͨÓõģ¬¶ÀÁ¢ÓڵײãÐÒéµÄServlet¡£
HttpServletÀà ---- À©Õ¹ÁË GenericServletµÄ³éÏóÀ࣬ÓÃÓÚÀ©Õ¹´´½¨Http Servlet
Èç¹û±àдµÄ
Ïà¹ØÎĵµ£º
Õâ¶Îʱ¼äÔÚ×¢²áÓòÃû£¬ÔÛÆð²½Íí£¬ºÃÓõÄÓòÃû¶¼¸ø±ðÈË×¢²áÁË¡£
ÏëÕÒ¸öλÊýÉÙµÄ.comÓòÃû£¬¿ÉÊÇ·¢Ïִ󲿷ֶ¼×¢²áÁË£¬Ò²¾ÍÊÇ˵£¬ÎÒµã»÷µÄ¶à´Î²éѯ¶¼ÊÇÀË·Ñ¿¨Â·ÀÎҿɲ»Ïë¼õ·Ê£©
ÓÚÊÇ»¨Á˵ãʱ¼ä£¬ÓÃjavaдÁ˸ö¸ù¾ÝÖ¸¶¨Î»Êý²éѯËùÓпÉÓõÄ.comÓòÃûµÄС³ÌÐò¡£ÌṩԴÂëÏÂÔØ¡£
ÎÒÀûÓõÄÊÇwhoisÕâ¸öÓòÃû²éѯÍøվȡµÃÊý¾Ý£¬ÔÚ²âÊÔµ ......
JAVA ´úÂëÈçÏ£º
<%
// µÃµ½Òª×ª»»µÄÊý×é---µ±È»ÕâÀïÒ²¿ÉÒÔÊÇÆäËûÀàÐ͵ÄÊý×é
List jsList = (List) request.getAttribute("gczbh");
%>
JS ´úÂëÈçÏ£º
<script type="text/javascrip ......
±¾ÎÄÃæÏòÓÚÄÇЩÈí¼þ¼Ü¹¹Ê¦£¬Éè¼ÆʦºÍ¿ª·¢ÈËÔ±£¬ËûÃÇÏëʹÓà IBM® Rational® Software Architect ´Ó Java™ Ô´´úÂëÀ´ÄæÏò¹¤³ÌÉú³É UML ÀàºÍÐòÁÐͼ¡£ ÄæÏò¹¤³Ì¾³£±»ÓÃÀ´´ÓÒÑÓеÄÔ´´úÂëÖÐÒÔÒ»ÖÖ³éÏóÄ£ÐÍ UML ¸ñʽÀ´»ñµÃ¶ªÊ§µÄÉè¼ÆÎĵµ£¬Æä¿ÉÒÔÓÃÀ´Ñо¿Ò»¸öϵͳµÄ¾²Ì¬½á¹¹ºÍ¶¯Ì¬ÐÐΪ£¬²¢ÓÃÓÚÀ©Õ¹ÐµÄÌØÐÔµ½²úÆ·¡£ ......
Java ÖÐÉú³ÉÊý×ÖÖ¤ÊéÒ²ºÜ¼òµ¥µÄ¡£
1¡¢´´½¨Ö¤Êé
Java ÖÐµÄ keytool.exe £¨Î»ÓÚ JDKBin Ŀ¼Ï£©¿ÉÒÔÓÃÀ´´´½¨Êý×ÖÖ¤Ê飬ËùÓеÄÊý×ÖÖ¤ÊéÊÇÒÔÒ»ÌõÒ»Ìõ(²ÉÓñðÃûÇø±ð)µÄÐÎʽ´æÈëÖ¤Êé¿âµÄÖУ¬Ö¤Êé¿âÖеÄÒ»ÌõÖ¤Êé°üº¬¸ÃÌõÖ¤ÊéµÄ˽Կ£¬¹«Ô¿ºÍ¶ÔÓ¦µÄÊý×ÖÖ¤ÊéµÄÐÅÏ¢¡£Ö¤Êé¿âÖеÄÒ»ÌõÖ¤Êé¿ÉÒÔµ¼³öÊý×ÖÖ¤ÊéÎļþ£¬Êý×ÖÖ¤ÊéÎļþÖ»°üÀ¨ ......
1£®Hibernate¹¤×÷ÔÀí¼°ÎªÊ²Ã´ÒªÓã¿
ÔÀí£º
1.¶ÁÈ¡²¢½âÎöÅäÖÃÎļþ
2.¶ÁÈ¡²¢½âÎöÓ³ÉäÐÅÏ¢£¬´´½¨SessionFactory
3.´ò¿ªSesssion
4.´´½¨ÊÂÎñTransation
5.³Ö¾Ã»¯²Ù×÷
6.Ìá½»ÊÂÎñ
7.¹Ø±ÕSession
8.¹Ø±ÕSesstionFactory
ΪʲôҪÓãº
1. ¶ÔJDB ......