ÔÚJSPÖÐʹÓÃJS·½Ê½ÒýÓÃckeditor
×î½üÔÚ×Ô¼º×öµÄÏîÄ¿ÖÐÐèÒªÓõ½ÔÚÏß±à¼Æ÷,ÔÚÍøÉÏËÑÁËÏ£¬·¢ÏÖÁËckeditor£¬µ±È»ÍøÉÏÓкü¸ÖÖÔÚÏß±à¼Æ÷£¬²»ÖªµÀΪʲôѡÔñÁËckeditor,±¾À´´òËãÓÃFckeditorµÄ£¬µ«ÊÇ¿´µ½ÍøÉÏ»¹ÐèÒªµ¼ÈëºÃ¼¸¸öJAR°ü£¬»¹Òª½øÐÐÒ»¶ÑÅäÖã¬ÓеãÂé·³£¬±¾À´ÏîÄ¿ÖÐÒ²¾ÍÓÃһϣ¬»¹ÒªÄÇôÂé·³µØÈ¥ÅäÖá£
ÓÚÊÇÈ¥ckeditorÍøÕ¾ÏÂÔØÁË×îа汾µÄckeditor£¬ckeditorÊÇfckeditorµÄÏÂÒ»´ú°æ±¾£¬ÓÚÊÇ˳´ø°ÑfckeditorºÍckeditor¶¼ÏÂÔØÏÂÀ´²âÊÔÏÂÄĸö¸üºÃÓ᣾¹ý±È½Ï»¹ÊÇckeditorµÄÃż÷±È½ÏµÍ£¬Á½ÐдúÂë¾Í¸ã¶¨ÁË£¬µ«ÊÇÅäÖÃÁËfckeditorȴûÓÐÆð×÷Óã¬ÓÚÊǾÍÑ¡ÔñÁËckeditor£¬Ò²Ðí´ó¼Ò»¹ÊÇÓÃfckeditorµÄ±È½Ï¶à¡£²»¹ý¼ÈÈ»ckeditorÃż÷µÍÄǾÍ×ÔȻѡÔñckeditorÁË¡£
²»¶à·Ï»°ÁË£¬ÏÂÃæ¾ÍÀ´ËµÏÂckeditorµÄʹÓðɣ¡
ҪʹÓÃckeditor£¬µ±È»Ê×ÏȾÍÊÇÈ¥http://ckeditor.com/ (ckeditorÍøÕ¾)ÏÂÔØckeditorµÄѹËõ°ü£¬ÏÖÔÚ×îеÄÊÇckeditor_3.3.zip
ÏÂÔغó½«Ñ¹Ëõ°ü½âѹ£¬½«½âѹºóÎļþ¼ÐÖеÄckeditorÎļþ¼Ðcopyµ½×Ô¼ºµÄwebÏîÄ¿µÄWebRootĿ¼Ï¡£
´ò¿ªckeditorĿ¼£¬¿ÉÒÔ¿´µ½Îļþ¼Ð½á¹¹ÈçÏÂ
ckeditor
---_samples
---_source
---adapters
---images
---lang
---plugins
---skins
---themes
....
---ckeditor.js
---config.js
...
´Óÿ¸öÎļþ¼ÐºÍÿ¸öÎļþµÄÃû×ÖÎÒÃǾͿÉÒÔºÜÈÝÒ׿´³öËüÃǵÄ×÷Óã¬_samplesÎļþ¼ÐÏ·ŵÄ×ÔÈ»¾ÍÊǹ©ÎÒÃÇѧϰÈçºÎʹÓõÄÑùÀý³ÌÐòÁË¡£
Äõ½Ò»¸öÎÒÃÇÒÔǰûÓùýµÄ¶«Î÷£¬Ê×ÏÈÒª¿´µÄµ±È»¾ÍÊÇËü¸øµÄÀý×ÓÁË£¬Õâ¿ÉÒÔÈÃÎÒÃǶÔÕâ¸ö³ÌÐòÓиöÕûÌåµÄÁ˽Ⲣ¿ìËÙÕÆÎÕ¼òµ¥µÄʹÓ÷½·¨¡£
ÏëÒªÔÚJSPÒ³ÃæÖÐÒýÓÃckeditorÊǷdz£¼òµ¥µÄÒ»¼þÊ£¬Ç°ÃæÎÒÃÇÖ»ÒªÒѾ½«½âѹµÄckeditorÎļþ¼Ðcopyµ½WebRootĿ¼ÏÂÁË£¬Ö»ÐèÒªÔÚjspÎļþµÄ´úÂëÖÐÒª¼ÓÈëckeditorµÄλÖüÓÉÏÈçÏ´úÂ룬(±ÈÈçÎÒÃÇÒªÔÚÒ»¸öformÖÐʹÓÃckeditor)¡£
ÏÂÃæÔÚindex.jsp(±ÊÕß½¨µÄÒ»¸ö²âÊÔÒ³Ãæ)ÖÐÒýÓÃckeditor²¢²âÊÔ
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
</head>
<body>
<%
String content=request.getParameter("editor1");
 
Ïà¹ØÎĵµ£º
package com.wxpn.tutorial.db;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.Date;
/**
* ÃèÊö: Êý¾Ý¿âÁ¬½Ó³ØÀà
*
*
&n ......
Ò»¡¢jspÁ¬½ÓOracle8/8i/9iÊý¾Ý¿â£¨ÓÃthinģʽ£©
¡¡¡¡testoracle.jspÈçÏ£º
¡¡¡¡<%@ page contentType="text/html;charset=gb2312"%>
¡¡¡¡<%@ page import="java.sql.*"%>
¡¡¡¡<html>
¡¡¡¡<body>
¡¡¡¡<%Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
¡¡¡¡Stri ......
Ç°¼¸Ì죬ºþÄÏSEOÔÚÓÃjspдһ¸öÆóÒµÕ¾³ÌÐòµÄʱºò£¬ÒòΪҪ²Î¼ÓÏîÄ¿´ð±ç¾ºÑ¡£¬ËùÒÔ¾ÍÏëΪ×Ô¼ºÐ´µÄ³ÌÐò¸ã¼¸¸öÁÁµã£¬ÒòΪ¸ãSEO¾ÃÁË£¬²»×Ô¾õ¾Í»áÏ뵽α¾²Ì¬£¬µ«ÊÇÔڰٶȲéÁËÒ»¸öÏÂÎ磬ֻ²éµ½ÁËurlrewrite¼Ü°üµÄÏÂÔصط½£¬ºÍ¼ÜÉè·½ÃæµÄÎÄÕ£¬²¢Ã»ÓÐjsp(JAVA)α¾²Ì¬µÄ¾ßÌå²Ù×÷ʾ·¶£¬ÓеÄÒ²Ö»ÊÇ£¬µ¥Ò³ÃæµÄα¾²Ì¬µÄд·¨£¬ÕâÀïÎÒ¾ÍÖØÍ· ......
Ò»¡¢
ÔÚÒ»¸öÉè¼ÆÁ¼ºÃµÄWebÓ¦ÓÃÖУ¬¶¼»á×ÛºÏʹÓÃServletºÍJSP¼¼Êõ¡£Servlet¿ØÖÆÒµÎñÁ÷ת£¬JSPÔò¸ºÔðÒµÎñ´¦Àí½á¹ûµÄÏÔʾ¡£´Ëʱ£¬½«´óÁ¿Óõ½Öض¨Ïò¼¼Êõ¡£
¡¡¡¡Öض¨Ïò¼¼Êõ¿ÉÒÔ·ÖΪÁ½À࣬һÀàÊÇ¿Í»§¶ËÖض¨Ïò£¬Ò»ÀàÊ ......
»ù±¾ÄÚÈÝ
Ê×ÏÈÊÇÓÃJ2SE+TOMCAT´î½¨¿ª·¢Æ½Ì¨£¬È»ºó»áÓÃʵÀý·Ö±ð¶ÔjavabeanºÍservlet½øÐвâÊÔ£¬
ͬʱҲ»á̸µ½Ò»Ð©ÖÐÎÄ´¦ÀíÉϵÄÎÊÌâ¡£ÎÄÕÂÄÚÈÝ¿ÉÄÜ»áÓеãÔÓÂÒºÍÁãÉ¢£¬µ«ÕâÒ²ÊÇѧϰ
jsp×î»ù´¡µÄ֪ʶ£¬ÒªÏëѧºÃjsp»¹µÃ¿¿×Ô¼º¶àŬÁ¦Ñ§Ï°¡£
ΪʲôҪдÕâÑùһƪÎÄÕ£¿
ÈÏʶÎÒµÄÅóÓÑ¿ÉÄÜ»áÖªµÀ£¬ÎÒƽʱֻÊÇдºÍ·ÒëһЩJ2ME· ......