基本思路:1.从附件服务器上取得模板的流文件2.拿到流文件之后再使用workbook.write(outs);方法改变流文件中的数据。 else if (pageContext.getParameter("Export") != null) { OraclePre...
分类:
其他好文 时间:
2015-11-11 14:46:52
阅读次数:
294
首先请求显示的页面 ${pageContext.request.contextPath} name: 需要注意的是,获取...
分类:
Web程序 时间:
2015-10-30 18:22:45
阅读次数:
208
自定义的单元格数据显示,以实现如下效果为例 使用列属性的formatter属性即可修改,示例如下 $("#roleList").datagrid({
????url?:?"${pageContext.request.contextPath}/role/list",
????columns?:?...
分类:
其他好文 时间:
2015-10-25 16:35:54
阅读次数:
201
1、window.location=url;window.location 对象用于获得当前页面的地址 (URL),并把浏览器重定向到新的页面。一、最外层top跳转页面,适合用于iframe框架集top.window.location.href("${pageContext.request.cont...
$("#exportBtn").click(function () { location.href = "${pageContext.request.contextPath}/report/export?" + $("form").serialize() });...
分类:
编程语言 时间:
2015-10-16 16:59:35
阅读次数:
256
Request,Response,pageContext,session,Application,Out,Config,Page,Exception1.request对象
客户端的请求信息被封装在request对象中,通过它才能了解到客户的需求,然后做出响应。它是HttpServletRequest类的实例。
序号方法说明
1objectgetAttribute(Stringname)返回指..
分类:
Web程序 时间:
2015-10-15 18:52:58
阅读次数:
169
${pageContext.request.contextPath}样是通过get方法去取的,先pageContext.getRequest()得到HttpServletRequest对象,再调用HttpServletRequest的getContextPath方法作用是取出部署的应用程序名,这样不...
分类:
其他好文 时间:
2015-10-11 16:46:38
阅读次数:
104
<%@?page?contentType="text/html;charset=UTF-8"%>
<%@?include?file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>日志管理</title>
<c:set?var="ctx"?value="${pageContext.request.co...
分类:
Web程序 时间:
2015-09-29 13:21:11
阅读次数:
311
EL表达式格式:${objName.attribute}从pageContext、request、session、application中依次查找绑定名为“objName”的对象,找到后调用“getAttribute”方法,将返回值输出,在取值过程中不关心数据的类型。。
分类:
其他好文 时间:
2015-09-22 14:30:14
阅读次数:
126
JSP中一共预先定义了9个这样的对象,分别为:request、response、session、application、out、pagecontext、config、page、exception 1、request对象 request 对象是 javax.servlet.httpServletRequest类型的对象...
分类:
Web程序 时间:
2015-09-17 10:15:52
阅读次数:
124