add_return_ly_operate.jsp
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:1k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <%@page import="java.util.Date"%>
  3. <%@page import="java.util.*"%>
  4. <%@page import="java.text.*"%>
  5. <%@ include file="conn.jsp" %>
  6. <%
  7. String id=new String(request.getParameter("id").getBytes("ISO-8859-1"));
  8. String recontent=new String(request.getParameter("recontent").getBytes("ISO-8859-1"));
  9. String condition="update users set recontent='"+recontent+"'where id='"+id+"'"; 
  10. stmt.executeUpdate(condition);
  11. stmt.close();
  12. conn.close();
  13. out.print("<script>");
  14. out.print("alert('回复成功!');");
  15. out.print("window.location.href='add_all_slly.jsp';");
  16. out.print("</script>");
  17.            
  18. %>