资源简介
HTML中文后台管理静态模板,后台每个模板都有对应的页面,可以很快地拿来做自己的后台管理界面

代码片段和文件信息
package com.baidu.ueditor;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.baidu.ueditor.define.ActionMap;
import com.baidu.ueditor.define.AppInfo;
import com.baidu.ueditor.define.baseState;
import com.baidu.ueditor.define.State;
import com.baidu.ueditor.hunter.FileManager;
import com.baidu.ueditor.hunter.ImageHunter;
import com.baidu.ueditor.upload.Uploader;
public class ActionEnter {
private HttpServletRequest request = null;
private String rootPath = null;
private String contextPath = null;
private String actionType = null;
private ConfigManager configManager = null;
public ActionEnter ( HttpServletRequest request String rootPath ) {
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() );
}
public String exec () {
String callbackName = this.request.getParameter(“callback“);
if ( callbackName != null ) {
if ( !validCallbackName( callbackName ) ) {
return new baseState( false AppInfo.ILLEGAL ).toJSONString();
}
return callbackName+“(“+this.invoke()+“);“;
} else {
return this.invoke();
}
}
public String invoke() {
if ( actionType == null || !ActionMap.mapping.containsKey( actionType ) ) {
return new baseState( false AppInfo.INVALID_ACTION ).toJSONString();
}
if ( this.configManager == null || !this.configManager.valid() ) {
return new baseState( false AppInfo.CONFIG_ERROR ).toJSONString();
}
State state = null;
int actionCode = ActionMap.getType( this.actionType );
Mapject> conf = null;
switch ( actionCode ) {
case ActionMap.CONFIG:
return this.configManager.getAllConfig().toString();
case ActionMap.UPLOAD_IMAGE:
case ActionMap.UPLOAD_SCRAWL:
case ActionMap.UPLOAD_VIDEO:
case ActionMap.UPLOAD_FILE:
conf = this.configManager.getConfig( actionCode );
state = new Uploader( request conf ).doExec();
break;
case ActionMap.CATCH_IMAGE:
conf = configManager.getConfig( actionCode );
String[] list = this.request.getParameterValues( (String)conf.get( “fieldName“ ) );
state = new ImageHunter( conf ).capture( list );
break;
case ActionMap.LIST_IMAGE:
case ActionMap.LIST_FILE:
conf = configManager.getConfig( actionCode );
int start = this.getStartIndex();
state = new FileManager( conf ).listFile( start );
break;
}
return state.toJSONString();
}
public int getStartIndex () {
String start = this.request.getParameter( “start“ );
try {
return Integer.parseInt( start );
} catch ( Exception e ) {
return 0;
}
}
/**
* callback参数验证
*/
public boolean valid
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 14671 2016-07-19 16:07 advertising.html
文件 7235 2016-08-02 15:22 Amounts.html
文件 6210 2016-07-26 11:38 article_add.html
文件 9317 2016-07-26 11:40 article_list.html
文件 8648 2016-07-26 15:23 article_Sort.html
文件 23767 2016-06-24 16:51 Brand_detailed.html
文件 19657 2016-09-18 17:58 Brand_Manage.html
文件 4886 2016-06-14 11:34 Category_Manage.html
文件 19068 2016-07-01 16:18 Competence.html
文件 8398 2016-09-18 17:58 Cover_management.html
文件 9003 2016-09-18 17:58 Feedback.html
文件 9331 2016-09-18 17:58 Guestbook.html
文件 9711 2016-08-01 10:45 home.html
文件 25346 2018-07-21 17:42 index.html
文件 14581 2016-09-18 17:58 integration.html
文件 5374 2016-09-20 15:22 login.html
文件 14618 2016-07-08 17:35 member-Grading.html
文件 2221 2016-06-28 16:08 member-show.html
文件 5559 2016-08-02 17:26 Order_Chart.html
文件 9020 2016-07-19 16:20 order_detailed.html
文件 10763 2016-09-18 17:58 Order_handling.html
文件 19522 2016-09-18 17:58 Orderform.html
文件 8621 2016-08-01 10:34 Payment_Configure.html
文件 11996 2016-07-28 17:21 Payment_details.html
文件 12063 2016-07-25 17:34 payment_method.html
文件 34541 2016-07-26 10:48 picture-add.html
文件 3753 2016-06-23 17:49 product-category-add.html
文件 23426 2016-09-18 17:58 Products_List.html
文件 7123 2016-09-18 17:58 Refund.html
文件 4661 2016-07-29 16:56 Refund_detailed.html
............此处省略897个文件信息
相关资源
- bootstrap3.0带源代码
- uploadifive1.2.2 uploadify HTML5
- 管理系统HTML模板
- 非常漂亮的导航菜单(html)
- 网页文件HTML
-
html中获取xm
l数据 - HTML AJAX(手写ajax)显示数据库数据
- HTML5 CSS3 :canvas 模拟实现电子彩票刮
- 仿Win10 UI界面(前端html模板)
- 永劫无间主题 html+css
- uni-app电商模板源码
- 登录html
- 游戏商城html模板(首页)
- 生日祝福html代码(带背景音乐)
- 基础html小米商城
- layui漂亮的后台模板
- W3C html5 参考手册(教学资源免费)
- html5 2048小游戏
- oa html模板(基于Vue开发)
- 个人网站备案的HTML模板
- html旅游静态网站
- 简易京东网页HTML代码(HTMLamp;JS;)
- jquerybootstrap国外网站模板
- 有问必答项目 html源码
- html 塔防游戏runner
- html 二十一点
- 生日祝福html网页源码(特效很多)
- 建站通用模板(首页)
- 时时彩网站 html模板(手机端 )
- HTML可视化面板
评论
共有 条评论