infoget.jsp
来自「java阿里巴巴代码」· JSP 代码 · 共 38 行
JSP
38 行
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="com.ahbay.interfaceMgr.*"%>
<%@ page import="java.util.*"%>
<%
getInterfaceMgr interfaceMgr = new getInterfaceMgr();
ArrayList list = new ArrayList();
HttpSession logsession = request.getSession();
String info_type = "";
if (request.getParameter("info_type") != null)
{
info_type = request.getParameter("info_type");
}
String s_id = "";
if (logsession.getAttribute("SESSION_USER_ID") != null)
{
s_id = logsession.getAttribute("SESSION_USER_ID").toString();
}
list = interfaceMgr.getQueryPage(s_id,info_type);
%>
<%
if (list != null && list.size()>0)
{
for (Iterator inIt = list.iterator(); inIt.hasNext();)
{
HashMap map = (HashMap) inIt.next();
String ulr = "";
ulr = map.get("ulr").toString();
%>
<li style="width:30%; float:left;padding: 0 0 0 15px;font-size:12px;background:url(/images/new024.gif) left center no-repeat">
<%=ulr%>
</li>
<%
}
}
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?