Upload multiple images
Preview:Support for Internet Explorer 8 or later
Online Management: Unable to display due to bugs
Unzip the ueditor-1.1.1.jar and find filemanager
1. modify a method in the com. Baidu. ueditor. Hunter. filemanager class as follows:
Source code: Private string getpath (File file) {string Path = file. getabsolutepath (); return path. replace (this. rootpath, "/");}: Private string getpath (File file) {string Path = file. getabsolutepath (); string STR = path. replace (this. rootpath. replaceall ("\\/", "\\\\"), "\\"); Return STR ;}
2. Create a filemanager. Java class in the project, use the decompilation tool to open the. Class file, and paste it into the Java file.
In this way, you can debug the program.
3. Replace the compiled. Class file with the filemanager. Class file in the original jar package and package it into a jar file.
Directly compress the folder, and the compressed file will have one more layer. Therefore, you can directly select all the files in the file, right-click the file, add the compressed file, and change the file suffix name. The jar package in the line is fine.
Ueditor multi-Image Upload bug