success_sharetitle_new.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:3k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <jsp:useBean id="sharesubstanceBean" class="MyFly.Bean.sharesubstanceBean" scope="request"/>
- <jsp:useBean id="sharesortBean" class="MyFly.Bean.sharesortBean" scope="request"/>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <%
- String index=request.getParameter("index");
- %>
- <style type="text/css">
- <!--
- p{text-indent:2em}
- -->
- </style>
- <%!
- StringBuffer convert(StringBuffer sour){
- for(int i=0;i<sour.length();i++){
- if(sour.substring(i,i+1).equals("n")){
- sour.delete(i,i+1);
- sour.insert(i,"</p><p>");
- }
- }
- return sour;
- }
- %>
- <%
- sharesubstanceBean.getNew(Integer.parseInt(index));
- %>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
- }
- TD {
- FONT: 12px 宋体
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- </STYLE>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title><%=sharesubstanceBean.getTitle()%></title>
- </head>
- <body>
- <table width="372" height="245" border="1" align="center">
- <tr>
- <td height="31" colspan="2" align="center">成功分享信息</td>
- </tr>
- <tr>
- <td width="75" height="30">分享类别:</td>
- <td width="281">
- <%
- if(sharesortBean.getNew(sharesubstanceBean.getSucceedFxID()))
- {
- out.print(sharesortBean.getSucceedFxName());
- }
- else
- {
- out.print("未知");
- }
- %>
- </td>
- </tr>
- <tr>
- <td height="36">分享标题:</td>
- <td> <%=sharesubstanceBean.getTitle()%></td>
- </tr>
- <tr>
- <td height="73">分享内容:</td>
- <td> <%=convert(new StringBuffer(sharesubstanceBean.getContent()))%></td>
- </tr>
- <tr>
- <td height="23">发布者:</td>
- <td> <%=sharesubstanceBean.getName()%></td>
- </tr>
- <tr>
- <td height="16">发布时间:</td>
- <td> <%=sharesubstanceBean.getAppendTime()%></td>
- </tr>
- </table>
- </body>
- </html>