content.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:3k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <jsp:useBean id="sale_manageBeans" class="MyFly.Bean.sale_manageBeans" scope="request"/>
- <jsp:useBean id="sale_manageBean" class="MyFly.Bean.sale_manageBean" scope="request"/>
- <%
- String index=request.getParameter("index");
- sale_manageBean.getNew(Integer.parseInt(index));
- %>
- <%!
- 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;
- }
- %>
- <HTML>
- <HEAD>
- <TITLE>消息内容</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312">
- <LINK href="../image/buyok_shop.css" type=text/css rel=stylesheet>
- <LINK href="../image/buyok_shop.css" type=text/css rel=stylesheet>
- <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
- <BODY leftMargin=0 topMargin=0>
- <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD vAlign=center align=middle>
- <TABLE height=290 cellSpacing=0 cellPadding=0 width=566 align=center
- background=../image/error.gif>
- <TBODY>
- <TR>
- <TD> <table width="502" height="262" border="0" align="center">
- <tr>
- <td width="510">
- <TABLE dataSrc="" cellSpacing=0 cellPadding=0 width=485 align=center
- border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left background="img/bg_line.jpg "
- height=118
- src="img/bg_line.jpg">
- <TABLE width=475 height="219" border=0
- align=center cellPadding=0 cellSpacing=1 dataSrc="">
- <TBODY>
- <TR>
- <TD width="121"
- height=92 align=middle vAlign=center><span class="orge">用户留言内容:</span></TD>
- <TD width="351"
- height=92 colSpan=2 align=left vAlign="middle"><%=convert(new StringBuffer(sale_manageBean.getContent()))%></TD>
- </TR>
- <TR>
- <TD vAlign=center align=middle rowSpan=2><span class="orge">版主管理员回复:</span></TD>
- <TD vAlign="middle" align=left colSpan=2 height=124><%=convert(new StringBuffer(sale_manageBean.getRecontent()))%></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></td>
- </tr>
- </table> </TD>
- </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>