ÇóÖú jspÂÛ̳ÄǵãÊÂ
¿ª·¢»·¾³£ºtomcat+sql server 2000+dreamweaver
Õâ¶Îʱ¼äÐèÒª ½¨Á¢¸ö»ùÓÚjspµÄÂÛ̳£¬ºÜ¼ò½àµÄ ÓÉÓÚÒÔÇ°»ù´¡²»ºÃ ¹âÅäÖû·¾³¾Í¸ãÁËÁ½Ìì
ÏÖÇë¸÷λÅóÓÑ°ïæ ¸ø¸ö jspÂÛ̳µÄ´úÂë+Êý¾Ý¿â±¸·Ý ÄãÃǵÄÁ·ÊÖ×÷Æ·Ò²ÐÐ ÔÚ¹ý¼¸Ìì¾ÍÒªÓÃÁË
µ½ÏÖÔÚ»¹Í£ÁôÔÚǰ̨ Ï£ÍûÄÄλÅóÓÑ°ï°ïÎÒ ÏÈллÁË
zhenguo.gg@gmail.com
Ïà¹ØÎĵµ£º
ÊäÈë: select ID as ±àºÅ, NAME as ÐÕÃû, AGE as ÄêÁä from XXX
Êä³ö:
񅧏
ÐÕÃû
ÄêÁä
ÒªÇóÊÇÈç¹ûSQL±ä¶¯, ÈÔȻҪÏÔʾ³öÀ´ËùÓеıðÃû×Ö¶ÎÐÅÏ¢ºÍÊý¾Ý.
ÒòΪÏÖÔÚHibernateÓõıȽϹ㷺, ËùÒÔÓÅÏÈ¿¼ÂÇÓÃHibernateÀ´ÊµÏÖ, ½á¹û·¢ÏÖÈç¹ûÊÇʵÌåÓ³Éä²éѯÓï¾ä, ¿ÉÒÔ·½±ãµÄÓÃ:List<String> Quer ......
ÏÂÃæµÄÊÇÒ»¸öÔËÐÐЧ¹û£º
·þÎñÆ÷»·¾³±äÁ¿
¹¦ÄܼòÊö
localhost¡¡
·þÎñÆ÷µÄÓòÃû
192.168.0.5¡¡
·þÎñÆ÷µÄIPµØÖ·
Windows XP¡¡
·þÎñÆ÷²Ù×÷ϵͳ
1.6.0¡¡
·þÎñÆ÷ Java ÐéÄâ»ú°æ±¾
2.5¡¡
·þÎñÆ÷Ö§³ÖµÄ Servlet API °æ±¾
2.1¡¡
·þÎñÆ÷Ö§³ÖµÄ JSP API °æ±¾
Apache Tomcat/6.0.16¡¡
·þÎñÆ÷Èí¼þµÄÃû³Æ¼°°æ±¾(½ ......
JSP¸ßÇåËõÂÔͼJMagickʹÓã¬ÊµÏÖÁ˶ÔͼƬµÄ¶àÖÖ²Ù×÷£¬ºÏ³ÉͼƬ£¬ËõÂÔͼ¡¢¸´ÖÆÊý¾ÝµÈµÈ...¡£
Ê×ÏÈÏÂÔØ£º
http://downloads.jmagick.org/6.3.9/ImageMagick-6.3.9-0-Q16-windows-dll.exe
http://downloads.jmagick.org/6.3.9/jmagick-win-6.3.9-Q16.zip
°²×°ImageMagick-6.3.9-0-Q16-windows-dll.exe³ÌÐòÔÚFÅÌÈ磺F:\Imag ......
¾Å´ó¶ÔÏó£º
ÄÚÖöÔÏó£¨ÓÖ½ÐÒþº¬¶ÔÏó£¬ÓÐ9¸öÄÚÖöÔÏó£©:²»ÐèÒªÔ¤ÏÈÉùÃ÷¾Í¿ÉÒÔÔڽű¾´úÂëºÍ±í´ïʽÖÐËæÒâʹÓÃ
1-out:
javax.servlet.jsp.JspWriterÀàÐÍ£¬´ú±íÊä³öÁ÷µÄ¶ÔÏó¡£×÷ÓÃÓòΪpage£¨Ò³ÃæÖ´ÐÐÆÚ£©
request£ºjavax.servlet.ServletRequestµÄ×ÓÀàÐÍ£¬´Ë¶ÔÏó·â×°ÁËÓÉWEBä¯ÀÀÆ÷»òÆäËü¿Í»§¶ËÉú³ÉµØHTTP
ÇëÇóµÄϸ½Ú ......
<%@ page contentType=”text/html; charset=GB2312″ %>
<META http-equiv=Content-Type content=”text/html; charset=gb2312″>
pageEncoding ÊÇjspÎļþ±¾ÉíµÄ±àÂë
contentTypeµÄcharsetÊÇ·þÎñÆ÷·¢Ë͸ø¿Í»§¶ËµÄÄÚÈݵıàÂë¡£
ÔÚÍøÒ³µÄHTMLÔ´´úÂëÖÐÒ»¸öÖØÒªµ ......