citycircsinfos.jsp

来自「这是一个上传下载的原代码」· JSP 代码 · 共 162 行

JSP
162
字号
<%@page language="java" import="java.util.*,com.project.util.*,com.model.entity.*" pageEncoding="UTF-8"%>
<%@page import="com.project.util.DateTimeUtil" %>
<%
	Map map = new HashMap();
	UserInfo user = new UserInfo();
	String userName = "";
	String userPass = "";
	String userRole = "";
	String userId = "";
	String cityId = "";
	
	if(session.getAttribute("userInfo") != null){
		map = (Map)request.getAttribute("news");
		request.setAttribute("newsInfo",map);
		
		user = (UserInfo)session.getAttribute("userInfo");
		userRole = user.getRoleIdRevert();
		userName = user.getUserName();
		userPass = user.getPassword();
		userId = user.getUserId();
		cityId = user.getCityId();
	}else{				
		response.sendRedirect(request.getContextPath() + "/login.jsp");
	}
%>
<html>
<script language="JavaScript" src="<%=request.getContextPath() %>/jsp/js/Calender.js"></script>
<script type="text/javascript">
	function revert(){
		document.revertForm.submit();
	}
</script>
<form action="<%=StringUtil.NEWERMAPATH %>/page/index.jsp?revert=revert&userName=<%=userName %>&userPass=<%=userPass %>&userRole=<%=userRole %>&userId=<%=userId %>&cityId=<%=cityId %>" name="revertForm" method="post">
</form>
<head>
<style type="text/css">

td img {display: block;}body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(jsp/images/bei.gif);
}
.bai25 {
	font-family: "宋体";
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
	color: #FFFFFF;
}
td img {display: block;}body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(jsp/images/bei.gif);
}
.bai25 {
	font-family: "宋体";
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
	color: #FFFFFF;
}
<!--
a:link {
	color: #666666;
	text-decoration: none;
}
a:visited {
	color: #666699;
	text-decoration: none;
}
a:hover {
	color: #003399;
	text-decoration: none;
}
a:active {
	color: #FF0000;
	text-decoration: none;
}
-->

</style>
<head>
<title>经济运行调度信息网</title>
<style type="text/css">
td img {display: block;}body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(jsp/images/bei.gif);
}
.bai25 {
	font-family: "宋体";
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
	color: #FFFFFF;
}
</style>
<Script>
function nextPage(pageNum,pageSize,formName){
  if(formName == '地方动态'){
  	document.aForm.pageNum.value = pageNum;
  	document.aForm.pageSize.value = pageSize;
  	document.aForm.submit();
  }
}
</Script>
<link href="<%=request.getContextPath() %>/jsp/css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
  	<jsp:include flush="true" page="../include/top.jsp" />
  </tr>
  <tr>
    <td colspan="2" valign="top" align="center"><table width="780" align="center" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="188" height="700" valign="top" bgcolor="#F0F7FF"><table width="188" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
            <jsp:include flush="true" page="../include/navigation.jsp" />
            </td>
          </tr>
          <tr>
            <td height="6">	</td>
          </tr>
          <tr>
            <td>
            <jsp:include flush="true" page="../include/query.jsp" />
            </td>
          </tr>
        </table></td>
        <td width="6" bgcolor="#FFFFFF"></td>
        <td width="586" valign="top" bgcolor="#FFFFFF">
        <table width="586" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="24"width="586 " valign="top" background="<%=request.getContextPath() %>/jsp/images/lanmu.jpg" class="bai25">    地方动态</td>
          </tr>
          <tr>
          	<td>
         	<jsp:include flush="true" page="cityCircsInfo.jsp">
         	<jsp:param name="titleName" value="地方动态"/>
         	<jsp:param name="formName" value="aForm"/>
         	</jsp:include>
          	</td>
          </tr>	
        </table>
        </td>
        </tr>
    </table></td>
  </tr>
  <tr>
	<jsp:include flush="true" page="../include/foot.jsp" />
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?