service.jsp
来自「这是一个上传下载的原代码」· JSP 代码 · 共 25 行
JSP
25 行
<%@ page language="java" import="java.util.*,com.model.entity.*" pageEncoding="UTF-8"%>
<%
List list = (List)request.getAttribute("serviceInfo");
%>
<table width="188" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26" background="<%=request.getContextPath() %>/jsp/images/lanbiao22.jpg" class="hei25"><div align="center">信息服务</div></td>
</tr>
<%
for(int i=0;i<list.size();i++){
NewsInfo newsInfo = (NewsInfo)list.get(i);
%>
<tr>
<td valign="top" background="<%=request.getContextPath() %>/jsp/images/lanbiao1.jpg" class="song30">
<div align="center"><a href="<%=request.getContextPath() %>/downLoad.do?action=ServiceInfo&newsId=<%=newsInfo.getNewsId() %>"><%=newsInfo.getTitle()%></a></div>
</td>
</tr>
<%
}
%>
<tr>
<td height="2"><img src="<%=request.getContextPath() %>/jsp/images/lanbiao2.jpg" width="188" height="2" /></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?