⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinterest.jsp

📁 该源码包括了基于J2EE的数据持久层设计,设计中使用了DAO,Service,等模式,并在Struts下进行了测试.
💻 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">
<%@ page language="java" contentType="text/html; charset=gb2312"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<title>interest</title>
<style type="text/css">
<!--
.style1 {font-size: 24px}
.style3 {
	font-size: 18px;
	color: #CC0099;
	font-weight: bold;
}
.style4 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 24px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style>
</head>

<body>
<table width="780" border="0" align="center">
  <tr>
    <td width="115"><div align="right"><%=request.getSession().getAttribute("username")%>
      </div>
      <div align="center"></div>
    <div align="center"></div></td>
    <td width="649"><div align="center" class="style1">
      <div align="left">&nbsp;welcome to our site, your interests are:</div>
    </div></td>
  </tr>
</table>
<p>&nbsp;</p>
<table width="780" border="1" align="center">
<logic:present name="interest">
<logic:iterate id="interest" name="interest"> 
  <tr>
    <td width="371" height="27">&nbsp;<bean:write name="interest"/></td>
    <td width="393"><div align="center"><span class="style3"><a href="<%=request.getContextPath()%>/userSimilarInterest.do?interestname=<bean:write name="interest"/>">search</a></span>    </div></td>
  </tr>
  </logic:iterate>
  </logic:present>
</table>
<p>&nbsp;</p>
<table width="65" height="31" border="0" align="center">
  <tr>
    <td bgcolor="#61B2DF"><div align="center" class="style4"><a href="<%=request.getContextPath()%>/pages/mainmenu.jsp">return</a></div></td>
  </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

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