Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

fckeditor 2.6.5(jspÍøÒ³±à¼­Æ÷)


ÕâÁ½ÌìÔÚΪÏîĿǶÈëÕâ¸ö²å¼þ£¬¸ãµÃ½¹Í·Àö³É¹¦²åÈëÁ˵ģ¬¿ÉÊDz»ÖªµÀʲôÎÊÌ⣬¾ÍÊÇÉÏ´«²»ÁËͼƬ£¬¾¹È»³öÏÖÁËÕâÑùµÄ¾¯¸æ£ºWARN net.fckeditor.handlers.RequestCycleHandler - No property found for UserPathBuilder implementation! The 'DefaultUserFilesPath' will be used in the ConnectorServlet!
ÔÚÍøÉÏÕÒÁË°ëÌìûÕÒ׎â¾ö·½·¨£¬ÉÏcsdnÇóÖúҲûÈ˻ش𣬺óÀ´Ò²²»ÖªµÀÔõô¸ãµÄ£¬Í»È»¾ÍºÃÁË……囧……
ûŪÇåÔ­Òò£¬²»¹ýÎҿ϶¨ÎÒµÄÅäÖÃÒ»Ö±ÊÇûÓÐÎÊÌâµÄ£¬ÒªÊÇÓÐÎÊÌ⣬ÄÇÖ»ÄÜ˵±à¼­»·¾³¿ÉÄÜÓÐÎÊÌ⣨¾ÍÊÇmyeclipseÁË……£©¡£ÔÚÕâÀÎÒ¼òµ¥µØ½éÉÜһϸòå¼þµÄÅäÖÃÓëʹÓã¬ÁôϽÅÓ¡£¡
Ê×ÏÈ¿´¿´²å¼þµÄ½Øͼ°É£¬ºÃÖªµÀÒ»ÏÂÕⶫÎ÷ÊÇÕ¦ÑùµÄ£º
¾ÍÊÇÕâô¸ö±à¼­Æ÷£¬Ä¿Ç°ÒѾ­³öµ½ÁË3.X°æ£¬¸üÃûΪCKeditor,²»¹ýËƺõÕâ¸öаæ¶ÔÓÚÉÏ´«¹¦ÄÜ»¹²»ÐÐ……֮ǰÊÔ¹ý£¬ºóÀ´·ÅÆúÁË£¬²Å¸ÄÓÃfckeditor×îеÄ2.6.5£¬Õâ¸öµÄÅäÖÃÒª±È֮ǰµÄ2.3Ö®ÀàµÄÅäÖüòµ¥ÉÏÐí¶à£¬Ö÷ÒªÊÇÉÏ´«µÄÅäÖñ»ÕûºÏÁË£¬²»ÐèÒªÎÒÃÇ×Ô¼ºÉèÖÃÉÏ´«Â·¾¶¡£
£¨ps:ÎÒʹÓõÄϵͳ»·¾³ÊÇstruts1.x+hibernate3.x,¾Ý˵ʹÓÃstruts2µÄϵͳÅäÖÃweb.xmlʱ»á³åÍ»£¬Õâ¸ö×Ô¼ºÉÏÍøÕÒ½â¾ö·½·¨È¥¡£)
½ÓÏÂÀ´ËµËµÎÒÃÇÒª×öµÄ¹¤×÷£º
1.ÏÂÔØ£º
µ½¹Ù·½ÍøÕ¾ÏÂÔؾͺãºhttp://ckeditor.com/
¹Ù·½ÍøÕ¾×ÔÈ»ÊÇÓ¢Îĵģ¬µ«ÊÇÏÂÔØÕâ¸öµ¥´Ê´ó¼ÒÓ¦¸Ã»¹¿´µÃ¶®°É£¿½øÈ¥Ö®ºóÕÒ²»×ÅÒªÏÂÔصÄÎļþµÄÎÒÖ»ÄÜ˵ÎÞÓïÁË……
ÐèÒªÏÂÔصÄÎļþ£º
£¨1£©FCKeditor_2.6.5.zip£¨Ö÷Îļþ£©
£¨2£©fckeditor-java-2.5-bin.zip£¨javaÖ§³Ö°ü£¬¸öÈËÈÏΪ²»ÏÂËƺõÒ²¿ÉÒÔ£¬Ò»¿ªÊ¼ÎÒȷʵÊÇÓÐÓõ½£¬¿ÉÊǺóÀ´·¢ÏÖÐèÒªµÄ¶«Î÷¶¼ÔÚÏÂÃæµÄÎļþÀïÓÐÁË……£©
£¨3£©fckeditor-java-demo-2.5.war£¨ÍøÂçÉÏÓÐЩÎÄÕ¶¼Ã»ËµÒªÏÂÕâ¸ö£¬¶øÊÇÒªÇóÏÂÔØÉÏÃæÁ½¸ö£¬ÎÒ¾õµÃÕâ¸ö·´µ¹ÊÇ×îÖØÒªµÄ£¬Ò»¶¨ÒªÏ£©
2.£¨1£©½âѹÖ÷Îļþ£¬·Åµ½ÏîÄ¿µÄWebRootĿ¼Ï£»
   £¨2£©½âѹfckeditor-java-2.5-bin.zip£¬´ÓlibÖÐÕÒµ½commons-fileupload-1.2.1.jar¡¢commons-io-1.3.2.jar¡¢slf4j-api-1.5.8.jar£¬»¹ÓÐÎļþ¼ÐϵÄfckeditor-java-core-2.4.1.jar£¬ÔÙ´Ófckeditor-java-demo-2.5.warÖÐÕÒµ½slf4j-simple-1.5.8.jar·Å½øÏîÄ¿µÄlibÎļþ¼ÐÏ£¨×¢Ò⣺slf4j-apiºÍslf4j-simpleµÄ°æ±¾Ò»¶¨ÒªÒ»Ö£©
    £¨PS:ÒÔÉÏÊÇ´ÓÍøÂçÉÏ¿ÉÒÔ¿´µ½µÄ´ó¼Ò¹«ÈϵÄ×ö·¨£¬Èç¹û¾õµÃÂé·³£¬ÄÇô¾Í´Ófckeditor-java


Ïà¹ØÎĵµ£º

ÈçºÎ½â¾ö jsp ÖÐurl´«ÖµµÄÖÐÎÄÂÒÂëÎÊÌâ

ÔÚjspÖУ¬Èç¹ûÔÚurlÖд«µÝÖÐÎÄʱ»á³öÏÖÂÒÂ룬ÔÚÍøÉϹØÓÚÕâÒ»ÎÊÌâµÄ½â¾ö·½·¨Î廨°ËÃÅ£¬µ«¶¼²»ÊǺÜ×àЧ£¡Æäʵ½â¾ö·½·¨·Ç³£¼òµ¥£º µÚÒ»²½£º±àÂ루ÒÔ´«µÝµÄ²ÎÊýΪstrΪÀý£© ÔÚ´«µÝÊý¾ÝÇ°½«str½øÐбàÂëJava.net.URLEncoder.encode(str) µÚ¶þ²½£º½âÂë ÔÚ»ñÈ¡Êý¾Ý¶Ë½«µÃµ½µÄÊý¾Ý½øÐнâÂë new String£¨str.getBytes("ISO8859_1")£© ......

jspµÄ9¸öÄÚ½¨¶ÔÏó

ÔÚjspÖв»Óö¨Òå¿ÉÒÔÖ±½ÓÓõľÍÊÇjspµÄ9¸öÄÚ½¨¶ÔÏóÁË
1£¬Request 2,Response 3,session 4,out 5,page
6,application 7,pageContext 8,config
9,exception
1¡¢Request¶ÔÏó
¸Ã¶ÔÏó·â×°ÁËÓû§Ìá½»µÄÐÅÏ¢£¬Í¨¹ýµ÷ÓøöÔÏóÏàÓ¦µÄ·½·¨¿ÉÒÔ»ñÈ¡·â×°µÄÐÅÏ¢£¬¼´Ê¹ÓøöÔÏó¿ÉÒÔ
»ñÈ¡Óû§Ìá½»µÄÐÅÏ¢¡£
µ±Request¶ÔÏó»ñÈ¡¿Í» ......

µ±jspºÍservlet³öÏÖÂÒÂëÎÊÌâºóµÄ½â¾ö·½°¸

ÉÏÍø¿´Á˺ö࣬¾ÍÕâһƪ½â¾öÁËÎÒµÄÎÊÌ⣬ÏÖת£¬ÎÒµÄÏîÄ¿ÓõÄÊÇMVC¼Ü¹¹£¬ÓÐͳһµÄ¿ØÖÆÆ÷£¬×ªÏò²»Í¬µÄAction£¬ÉÏÍø¿´Á˺ö࣬´ó²¿·ÖÊÇ˵¼ÓÈërequest.setCharacterEncoding("utf-8");µ«ÊǾ­¹ýÎÒµÄÊÔÑ飬ÕâÖ»ÓÐÔÚÀûÓÃJSP´¦Àí±íµ¥´«ÊäÊý¾Ýʱ²Å¿ÉÓã¬ÔÚÎҵĶ«Î÷ÖÐÎÞ·¨½â¾ö£¬ºóÀ´·¢ÏÖ»¹ÊÇÓÃFilterChainºÃ£¬ºÇºÇ£¬Öص㻹ÊÇÔÚrequest ......

ÒýÓà JSP:contentType ÓëpageEncodingÇø±ð

pageEncoding
ÔÚJSP±ê×¼µÄÓï·¨ÖУ¬Èç¹ûpageEncodingÊôÐÔ´æÔÚ£¬ÄÇôJSPÒ³ÃæµÄ×Ö·û±àÂ뷽ʽ¾ÍÓÉpageEncoding¾ö¶¨£¬·ñÔò¾ÍÓÉcontentTypeÊôÐÔÖеÄcharset¾ö¶¨£¬Èç¹ûcharsetÒ²²»´æÔÚ£¬JSPÒ³ÃæµÄ×Ö·û±àÂ뷽ʽ¾Í²ÉÓÃĬÈϵÄISO-8859-1¡£
ContentType
ContentTypeÊôÐÔÖ¸¶¨ÁËMIMEÀàÐͺÍJSPÒ³Ãæ»ØӦʱµÄ×Ö·û±àÂ뷽ʽ¡£MIMEÀàÐ굀 ......

JSPÖи÷ÖÖÄÚÖöÔÏó

JSPÖи÷ÖÖÄÚÖöÔÏó
 
web½»»¥µÄ×î»ù±¾µ¥Î»ÊÇhttpÇëÇó¡£Ã¿¸öÓû§´Ó½øÈëÍøÕ¾µ½À뿪ÍøÕ¾Õâ¶Î¹ý³Ì³ÆΪһ¸öHTTP»á»°£¬Ò»¸ö·þÎñÆ÷µÄÔËÐйý³ÌÖлáÓжà¸öÓû§·ÃÎÊ£¬¾ÍÊǶà¸öHTTP»á»°¡£×÷ÓÃÓò½âÊÍÈçÏ£º
1.application£º·þÎñÆ÷Æô¶¯µ½Í£Ö¹µÄÕâ¶Îʱ¼ä
2.session£ºHTTP»á·¢¿ªÊ¼µ½½áÊøµÄÕâ¶Îʱ¼ä
3.request£ºHTTPÇëÇó¿ªÊ¼µ½½áÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ