The first two articles describe the errors that occur during integration and integration.
Upload path is a big problem, many people ask no one to solve, I would like to be able to change the upload and save the image of the source processing, the results of the experiment, is possible, let me explain below
we can actually see in the directory after our download has a src source directory
attention to the controller.jsp page ,
Looking at the Actionenter class, the rootpath parameter was found to be excessive, over-transmitting to the com/baidu/ueditor/upload Directory Binaryuploader and base64uploader two classes for uploading files.
Found in this class
The final save address is in 73 lines of code, the path is RootPath (project root) +Savepath (available in the Config.json file configuration), so the root is here.
I changed the source, in the controller.jsp I have a custom string parameter to the Actionenter class, and finally in Binaryuploader and base64uploader two upload the file class to replace RootPath This value
Then use eclipse or myeclipse to export the com.baidu.ueditor directory to a jar.
The uploaded path is not the project root, but is defined by the project root directory by default
Controller.jsp page after the change
Updated jar Package I named Ueditor-1.1.1.1.jar package. I've uploaded it to csdn.
Here are the following:
http://download.csdn.net/detail/ouyhong123/8520689
Ueditor Upload path problem