content.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:3k
源码类别:

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  3. <jsp:useBean id="sale_manageBeans" class="MyFly.Bean.sale_manageBeans" scope="request"/>
  4. <jsp:useBean id="sale_manageBean" class="MyFly.Bean.sale_manageBean" scope="request"/>
  5. <%
  6.    String index=request.getParameter("index");
  7.    sale_manageBean.getNew(Integer.parseInt(index));
  8.  %>
  9.  <%!
  10.  StringBuffer convert(StringBuffer sour){
  11. for(int i=0;i<sour.length();i++){
  12. if(sour.substring(i,i+1).equals("n")){
  13. sour.delete(i,i+1);
  14. sour.insert(i,"</p><p>");
  15. }
  16. }
  17. return sour;
  18. }
  19. %>
  20. <HTML>
  21. <HEAD>
  22. <TITLE>消息内容</TITLE>
  23. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  24. <LINK href="../image/buyok_shop.css" type=text/css rel=stylesheet>
  25. <LINK href="../image/buyok_shop.css" type=text/css rel=stylesheet>
  26. <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
  27. <BODY leftMargin=0 topMargin=0>
  28. <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
  29.   <TBODY>
  30.   <TR>
  31.     <TD vAlign=center align=middle>
  32.       <TABLE height=290 cellSpacing=0 cellPadding=0 width=566 align=center 
  33.       background=../image/error.gif>
  34.         <TBODY>
  35.         <TR>
  36.           <TD>&nbsp;&nbsp; &nbsp; &nbsp; <table width="502" height="262" border="0" align="center">
  37.             <tr>
  38.               <td width="510">
  39.                 <TABLE dataSrc="" cellSpacing=0 cellPadding=0 width=485 align=center 
  40.             border=0>
  41.                   <TBODY>
  42.                     
  43.                     <TR>
  44.                       <TD vAlign=top align=left background="img/bg_line.jpg "
  45.                 height=118 
  46.                 src="img/bg_line.jpg">
  47.                         <TABLE width=475 height="219" border=0 
  48.                   align=center cellPadding=0 cellSpacing=1 dataSrc="">
  49.                           <TBODY>
  50.                             <TR>
  51.                               <TD width="121" 
  52.                         height=92 align=middle vAlign=center><span class="orge">用户留言内容:</span></TD>
  53.                               <TD width="351" 
  54.                       height=92 colSpan=2 align=left vAlign="middle"><%=convert(new StringBuffer(sale_manageBean.getContent()))%></TD>
  55.                             </TR>
  56.                             <TR>
  57.                               <TD vAlign=center align=middle rowSpan=2><span class="orge">版主管理员回复:</span></TD>
  58.                               <TD vAlign="middle" align=left colSpan=2 height=124><%=convert(new StringBuffer(sale_manageBean.getRecontent()))%></TD>
  59.                             </TR>
  60.                           </TBODY>
  61.                       </TABLE></TD>
  62.                     </TR>
  63.                     
  64.                   </TBODY>
  65.                 </TABLE></td>
  66.             </tr>
  67.           </table>            </TD>
  68.         </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>