【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了LookShow.jsp相关资料,希望对各位网友有所帮助!
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.
sql.*" errorPage="" %>
<%@ page import="swing.ShowPlan"%>
<%@ page import="swing.ShowBeanCut"%>
<%@ page import="swing.ReShow"%>
<%
String sess=(String)session.getAttribute("username");
if(sess==null||sess.equals("")){
response.sendRedirect("../main.jsp");
}else{
swing.Rous rou=new swing.Rous();
boolean maybe=rou.toInt(sess,"row13");
if(!maybe){
response.sendRedirect("../notrous.jsp");
}
}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/style1.css" rel="stylesheet">
<title>浏览页面</title>
</head>
<body>
<%
ShowPlan sb=new ShowPlan();
String a=(String)request.getParameter("ID");
ShowBeanCut show=sb.toShow(a);
%>
<table width="95%" height="58" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th width="16%" height="24" scope="col"></th>
<th width="64%" height="15" scope="col"></th>
<th width="20%" scope="col"></th>
</tr>
<tr>
<td valign="middle"></td>
<td height="25" align="center"><%=ReShow.toReShow(show.getG())%> 详 细 介 绍</td>
<td></td>
</tr>
</table>
<table width="95%" height="80" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ECECF2" >
<tr align="center">
<td width="17%">物资名称:</td>
<td height="25" width="14%"><%=show.getA()%></td>
<td width="16%">数量:</td>
<td width="14%"><%=show.getB()%></td>
<td width="17%">类型:</td>
<td width="17%" 15%><%=show.getC()%></td>
<td width="5%" 15%></td>
</tr>
<tr align="center">
<td>计量单位:</td>
<td height="25"><%=show.getI()%></td>
<td>时间:</td>
<td><%=show.getL().substring(0,10)%></td>
<td>折旧情况:</td>
<td><%=show.getF()%></td>
<td></td>
</tr>
<tr align="center">
<td height="30">金额:</td>
<td height="30"><%=show.getD()%></td>
<td height="30">供应商:</td>
<td><%=show.getE()%></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>