摘要: Jsoup主页:http://jsoup.org/ 在Blog.java 加入 private List<String> imageList=new LinkedList<String>(); // 博客里存在的图片,主要用于列表展示的缩略图 for(Blog blog:blogList){ Lis 阅读全文
posted @ 2016-11-16 23:00 SKYisLimit 阅读(826) 评论(0) 推荐(0) 编辑
摘要: 使用bootstrap分页代码 /** * 分页工具类 * @author Administrator * */ public class PageUtil { /** * 生成分页代码 * @param targetUrl 目标地址 * @param totalNum 总记录数 * @param 阅读全文
posted @ 2016-11-16 22:18 SKYisLimit 阅读(68) 评论(0) 推荐(0) 编辑
摘要: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% response.sendRedirect("index.html"); %> /** * 主页Contrller * 阅读全文
posted @ 2016-11-16 17:22 SKYisLimit 阅读(149) 评论(0) 推荐(0) 编辑
摘要: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ include file="/js/commons.jspf" %> <%@taglib uri="/struts-t 阅读全文
posted @ 2016-11-16 14:35 SKYisLimit 阅读(360) 评论(0) 推荐(0) 编辑
摘要: /** * 发布流程 * @return */ public String newdeploy(){ //获取页面传递的值 //1:获取页面上传递的zip格式的文件,格式是File类型 File file = workflowBean.getFile(); //文件名称 String filenam 阅读全文
posted @ 2016-11-16 11:40 SKYisLimit 阅读(287) 评论(0) 推荐(0) 编辑
摘要: import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.interceptor.Interceptor; /** * 登录验证拦截器 * */ @SuppressWarnings("serial" 阅读全文
posted @ 2016-11-16 10:49 SKYisLimit 阅读(101) 评论(0) 推荐(0) 编辑
摘要: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <html> <head> <meta 阅读全文
posted @ 2016-11-16 09:37 SKYisLimit 阅读(206) 评论(0) 推荐(0) 编辑
摘要: package cn.itcast.ssh.utils; import org.apache.struts2.ServletActionContext; import cn.itcast.ssh.domain.Employee; public class SessionContext { publi 阅读全文
posted @ 2016-11-16 09:13 SKYisLimit 阅读(61) 评论(0) 推荐(0) 编辑