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.