📄 word.jsp
字号:
<html>
<head>
<title></title>
<%@page import="java.io.*"%>
<%@page import="java.sql.Blob"%>
<%@ page import="gov.gdlt.ssgly.taxcore.taxblh.gzda.service.OracleBlobParseBLH"%>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<!--
<meta http-equiv="refresh" content="0">
-->
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<link rel="stylesheet" href="../public/css/tsstudio.css" type="text/css">
<link href="../../../skin/skin1/css/main.css" rel="stylesheet" type="text/css">
</head>
<%
response.reset();
//这个设置很重要,否则客户端浏览器不能识别输出内容,导致弹出下载的对话框。
response.setContentType("application/msword");
ServletOutputStream outs = response.getOutputStream();
String caseno=request.getParameter("caseno");
OracleBlobParseBLH operblob=new OracleBlobParseBLH();
byte[] outbyte=operblob.selectblob(caseno);
outs.write(outbyte);
outs.flush();
outs.close();
//out.print(caseno);
%>
<body bgcolor="#FFFFFF" >
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="right" valign="top"><img src="../../../skin/skin1/images/button_reduce.jpg" width="15" height="15" title="最小化" onclick="with(parent.f_set){if(cols=='180,0,*'){cols='180,280,*';}else{cols='180,280,*';}}">
<img src="../../../skin/skin1/images/button_enlarge.jpg" width="20" height="20" title="最大化" onclick="with(parent.f_set){if(cols=='180,280,*'){cols='180,0,*';}else{cols='180,0,*';}}">
</td>
</tr>
</table></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -