Source http://dl2.csdn.net/down1/20080210/10202156378.rar
To reference "Web online editor" in your program:
--------------------------------------------
1. Copy the ewebeditor_zjs.jar file in the lib directory to your project directory and reference this jar file in the project;
2. Copy all files and directories in the web directory to your web application directory.
3. Copy two XML files under the XML directory to your web application directory/WEB-INF
4. Add the following code between <form>... </form> of the JSP page that you want to reference "Web online editor:
<Textarea name = "newscontent" class = "Chinese" style = "display: none" Cols = "" rows = ""> </textarea>
<IFRAME id = "dreameditor" src = "ewebeditor. jsp? Id = newscontent & Style = coolblue "frameborder =" 0 "scrolling =" no "width =" 650 "Height =" 350 "> </iframe>
5. Rewrite your submission button, for example, <input type = "Submit" value = "publish" onclick = "newscontent. value = dreameditor. gethtml ()"/>
---------------------------------------------
Note: The method attribute in your <form> label is post, for example, <form... method = "Post">... </form>
--------------------------------------------
Zhou jisong
2007.5.25