Ueditor (JSP 1.4.3 version) integrated into the SSH framework

Source: Internet
Author: User
Tags ssh

One: Integration Simple steps

1, download Ueditor file

Download Address

2, add Jar pack

Open the downloaded file, as shown below, to add the jar package below Jsp-lib to the Lib folder under the project's Web-inf

3, Import source files

Create a folder under the WebContent path (ueditor) and copy the downloaded files (except for the jar package added above)


4, modify the JSP file

1), first to introduce JS file



2), then write the container that shows the ueditor Rich text box



With the above configuration, Ueditor is basically ready to use.


Two: Picture display problem

1, if Ueditor picture upload failed, prompt "not found upload data"

At this time to check the project jar package, delete Common-io-1.4.jar can upload success


2, if ueditor image upload success, but not show

The problem is to read the path of the picture is problematic, modify the JSP below the Config.json file



Imageurlprefix modified to its own project name because the default project prefix is empty, so the picture path is incorrect


This is not very good, the name of the project to change the JSON file, it is cumbersome, but. json files do not automatically get the name of the project, so if you improve, you can automatically spell the contents of the Config.json file.

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.