| | |
| | | import com.matrix.component.ueditor.hunter.ImageHunter; |
| | | import com.matrix.component.ueditor.upload.Uploader; |
| | | import com.matrix.component.ueditor.define.State; |
| | | |
| | | import java.util.Map; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | |
| | | private String actionType = null; |
| | | |
| | | private ConfigManager configManager = null; |
| | | private UeditorProperties ueditorProperties = null; |
| | | |
| | | public ActionEnter ( HttpServletRequest request, String rootPath ) { |
| | | public ActionEnter (HttpServletRequest request, String rootPath , UeditorProperties ueditorProperties) { |
| | | |
| | | this.request = request; |
| | | this.rootPath = rootPath; |
| | | this.actionType = request.getParameter( "action" ); |
| | | this.contextPath = request.getContextPath(); |
| | | this.configManager = ConfigManager.getInstance( this.rootPath, this.contextPath, request.getRequestURI() ); |
| | | this.ueditorProperties=ueditorProperties; |
| | | this.configManager = ConfigManager.getInstance( this.rootPath, this.contextPath, request.getRequestURI() ,ueditorProperties ); |
| | | |
| | | } |
| | | |