Flying Fish editor (with complete jar package)

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.