资源简介
基于javaweb 的bootstrap table 案例源码
本案例针对bootstrap中table的使用方法,通过ajax远程调用服务器实现table的显示、分页、查询。可以借鉴
代码片段和文件信息
package cn.servlet;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
public class JsonUtil {
private static Gson json = new Gson();
public static String parseJson(object value) {
try {
String str = json.toJson(value);
return str;
} catch (Exception e) {
// TODO: handle exception
return null;
}
}
public static object JsonToList(String content Type type) {
try {
return json.fromJson(content type);
} catch (Exception e) {
// TODO: handle exception
return null;
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 834 2017-03-26 15:41 BootStrapTable\.classpath
文件 1047 2017-03-26 15:41 BootStrapTable\.project
文件 503 2017-03-26 15:41 BootStrapTable\.settings\.jsdtscope
文件 364 2017-03-26 15:41 BootStrapTable\.settings\org.eclipse.jdt.core.prefs
文件 494 2017-03-26 15:41 BootStrapTable\.settings\org.eclipse.wst.common.component
文件 345 2017-03-26 15:41 BootStrapTable\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2017-03-26 15:41 BootStrapTable\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2017-03-26 15:41 BootStrapTable\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 997 2017-03-26 15:49 BootStrapTable\build\classes\cn\servlet\JsonUtil.class
文件 1223 2017-03-26 16:52 BootStrapTable\build\classes\cn\servlet\Param.class
文件 3880 2017-03-26 17:01 BootStrapTable\build\classes\cn\servlet\record.class
文件 1203 2017-03-26 15:55 BootStrapTable\build\classes\cn\servlet\SimsSellRecord.class
文件 658 2017-03-26 15:49 BootStrapTable\src\cn\servlet\JsonUtil.java
文件 660 2017-03-26 16:52 BootStrapTable\src\cn\servlet\Param.java
文件 3400 2017-03-26 17:01 BootStrapTable\src\cn\servlet\record.java
文件 855 2017-03-26 15:55 BootStrapTable\src\cn\servlet\SimsSellRecord.java
文件 26132 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap-theme.css
文件 47706 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap-theme.css.map
文件 23409 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap-theme.min.css
文件 25648 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap-theme.min.css.map
文件 146010 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap.css
文件 389287 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap.css.map
文件 121200 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap.min.css
文件 542194 2017-03-26 15:42 BootStrapTable\WebContent\css\bootstrap.min.css.map
文件 3493 2017-03-26 15:42 BootStrapTable\WebContent\dialog.html
文件 20127 2017-03-26 15:42 BootStrapTable\WebContent\fonts\glyphicons-halflings-regular.eot
文件 108738 2017-03-26 15:42 BootStrapTable\WebContent\fonts\glyphicons-halflings-regular.svg
文件 45404 2017-03-26 15:42 BootStrapTable\WebContent\fonts\glyphicons-halflings-regular.ttf
文件 23424 2017-03-26 15:42 BootStrapTable\WebContent\fonts\glyphicons-halflings-regular.woff
文件 18028 2017-03-26 15:42 BootStrapTable\WebContent\fonts\glyphicons-halflings-regular.woff2
............此处省略42个文件信息
评论
共有 条评论