ÔÚJSPÖÐÅäÖÃFCKeditor 2.6.4
1.FCKeditor ½éÉÜ
FCKeditor Õâ¸ö¿ªÔ´µÄHTML Îı¾±à¼Æ÷¿ÉÒÔÈÃweb ³ÌÐòÓµÓÐÈçMS Word ÕâÑùÇ¿´óµÄ±à¼¹¦ÄÜ£¬.FCKeditor Ö§³Öµ±Ç°Á÷ÐеÄä¯ÀÀÆ÷¡£
2£®×¼±¸¹¤×÷£º
»·¾³£ºwinddows XP¡¢tomcat6.0¡¢JDK1.6
ÏÂÔØ£º
1)£ºFCKeditor_2.6.4.zip
µØÖ·£ºhttp://nchc.dl.sourceforge.net/sourceforge/fckeditor/FCKeditor_2.6.4.zip
2)£ºfckeditor-java-2.4.1-bin.zip (JAVAÖ§³Ö°ü)µØÖ·http://nchc.dl.sourceforge.net/sourceforge/fckeditor/fckeditor-java-2.4.1-bin.zip
3)£ºslf4j-1.5.2.zip µØÖ· £ºhttp://www.slf4j.org/dist/slf4j-1.5.2.zip
3.°²×°£º
ÏÂÃæÒÔjspΪÀý£º
·Ö±ð½âѹ֮ºó£¬ÎÒÃÇ¿ÉÒԵõ½Ò»¸öfckeditorºÍfckeditor-java-2.4.1Á½¸öÎļþ¼Ð¡£fckeditorÎļþ¼ÐÏÂÊÇÐèÒªµ÷ÓõÄÒ³ÃæºÍjsÎļþµÈµÈ£¬Óи÷ÖÖ°æ±¾£¬ÎÞËùνÀ²£¬ÎÒÃÇÖ®ÐèÒªjsp¾Í¹»ÁË¡£½«Îļþ¼ÓÈ«²¿¸´ÖƵ½¹¤³ÌĿ¼Ïµȴýµ÷Óü´¿É¡£
×¢Ò⣺ÓеãÂé·³µÄÊǵ¼°üµÄÎÊÌâ¡£ÎÒÃÇÒ»¹²ÐèÒª5¸ö°ü£ºcommons-fileupload-1.2.1.jar£¬commons-io-1.3.2.jar£¬fckeditor-java-core-2.4.1.jar£¬slf4j-api-1.5.6.jar£¬slf4j-simple-1.5.6.jar»òslf4j-jdk14-1.5.6.jar¡£
ÉÏÃæÇ°Ëĸö°ü¶¼¿ÉÒÔÔÚfckeditor-java-2.4.1Îļþ¼ÐÏÂÃæÕÒµ½£¬µ«ÊǵÚÎå¸öÈ´ÒªÁíÍâÈ¥ÕÒ£¬ÕâµãÎҷdz£²»Àí½â£¬ÎªÊ²Ã´²»·ÅÔÚÒ»Æð¡£
Èç¹ûûÓеĻ°±àÒëʱ¾Í»á³öÏÖÈçÏ´íÎóÐÅÏ¢£º
ÑÏÖØ: Servlet /fckeditorDemo threw load() exception
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
µ±È»°æ±¾»òÐí²»Í¬£¬ÒÔÉϵİ汾ÊǽØÖ¹2009-02-4µÄ×îа汾¡£Èç¹ûÏëÒª×îа汾£¬¿ÉÒÔÔÚslf4jµÄ¹ÙÍøhttp://www.slf4j.org/download.htmlϵ½¡£µ«ÊÇҪעÒ⣬½ØÖ¹µ½2009-2-4£¬slf4j¹Ù·½×îа汾ÊÇ1.5.6£¬µ«ÊÇfckeditorÌṩµÄslf4j-apiÈ´ÊÇ1.5.2°æ±¾£¬Èç¹ûÁ½¸ö°æ±¾²»Ò»ÑùµÄ»°£¬Ä㽫»áÔÚ¿ØÖÆ̨¿´µ½ÈçϵÄÏûÏ¢£º
ÑÏÖØ: Servlet /Java threw load() exception
java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class
org.slf4j.LoggerFactory
ËùÒÔǧÍòҪעÒâ°æ±¾Ò»ÖÂÎÊÌâ¡£Èç¹ûÄãʵÔÚ¾õµÃÏÂÔغÜÂé·³£¬ÄǾ͵½ÕâÀïÏÂÔØ°É£ºhttp://www.slf4j.org/download.html
4.ÅäÖÃ
1)ÔÚ¹¤³ÌĿ¼src/ÏÂн¨Ò»¸öÎļþfckeditor.properties£¬Ìí¼ÓÄÚÈÝ£º
connector.userFilesPath=UploadFile
connector.userActionImpl=net.fckeditor.requestcycle.impl.UserActionImpl
ÆäÖеÚÒ»ÐÐΪÖØж¨ÒåÉÏ´«µÄÎļþ¼
Ïà¹ØÎĵµ£º
ÎÊÌâÈçÏ£º
֮ǰ,д¹ýÒ»¸öDownload.jspÎļþ,¿ÉÒÔ½â¾öÏÂÔØÎļþÂÒÂëÎÊÌâ(ÖîÈç:DOC,XSLÎļþµÈµÈ).
ºóÀ´·¢ÏÖ,Óöµ½ÖÐÎÄÃûµÄÎļþµÄʱºò,ÎļþÏÂÔؽ«»á±¨´í~~~~
½ñÌì,ͨ¹ý¸ÄдÔDownload.jspÎļþÒѾ³¹µ×½â¾öÁËÕâ¸öÎÊÌâ~
ÏÖÔÚ,°ÑÒ»ÕûÌ×µÄÎļþÉÏ´«ÏÂÔصķ½·¨¸øÌù³öÀ´~~~ÒÔ±ã´ó¼Ò½è¼ø!~!~!~!~!
×÷Õß:¹Å°£¼°·¨ÀÏ
download ......
¡¡¡¡ RSS2.0ÔÚÍøÂçÉÏ´óÐÐÆäµÀ,¸÷ÖÖÍøÕ¾¶¼¼ÓÉÏRSSÖ§³Ö,¹ØÓÚRSS¹æ·¶,¿ÉÒÔä¯ÀÀһϠhttp://blogs.law.harvard.edu/tech/rss
Ôڼƻ®Éú³ÉRSSÎļþµÄʱºò,˳±ãËÑË÷ÁËÒ»ÏÂJIRAºÍConfluenceµÄ³ÌÐò,·¢ÏÖËüÃÇ·Ö±ðÊÇÓÃÄ£°å·½Ê½ºÍJSP¶¯Ì¬Ò³ÃæÀ´Õ¹Ê¾µÄ.
ÓÚÊÇÎÒÒ²Ïëµ½Á½ÖÖ·½Ê½:
¡¡¡¡1.ÓÃFreeMarkerÉú³É¾²Ì¬Îļþ,ÊÊÓÃÓÚ¸üв ......
ServletÈý¸öÒªËØ:
1.±ØÐë¼Ì³Ð×ÔHttpServlet
2.±ØÐëʵÏÖdoGet()»òÕßdoPost()
3.±ØÐëÔÚweb.xmlÖÐÅäÖÃServlet
<servlet>
<servlet-name> </servlet-name>
<servlet-class> </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> </servlet-nam ......
jsp±íµ¥Ìá½»µÄÊý¾ÝÓÐÖÐÎÄʱ³öÏÖÂÒÂ룬²¢·Ç¶ÁÈ¡Êý¾Ý¿âÊý¾ÝºóÏÔʾÂÒÂ룬ÒÔÏÂÊǽâ¾öµÄ·½·¨¡£
netbeans´´½¨jspµÄÄ£°æÖÐÊÇ£º<%@page contentType="text/html" pageEncoding="UTF-8"%>£¬½«ÕâÐиijÉÒÔÏÂÕâÑù¾Í¿ÉÒÔÕý³£ÏÔʾÖÐÎÄ£º
<%@page language="java" pageEncoding=utf-8" %>
<%@page contentType=” ......
Jsp Á¬½Ó mySQL¡¢Oracle Êý¾Ý¿â±¸Íü
2009-12-15 16:47
Jsp »·¾³Ä¿Ç°×îÁ÷ÐеÄÊÇ Tomcat5.0¡£Tomcat5.0 ×Ô¼º°üº¬Ò»¸ö Web ·þÎñÆ÷£¬Èç¹ûÊDzâÊÔ£¬¾Íû±ØÒª°Ñ Tomcat Óë IIS »ò Apache ¼¯³ÉÆðÀ´¡£ÔÚ Tomcat ×Ô´øµÄ Web ·þÎñÆ÷Ï¿ÉÒÔ½øÐÐ Jsp ²âÊÔ¡£
°²×° Tomcat5.0 Ç°ÐèÒª°²×° JDK(Èç¹ûÊÇ Windows server ......