changeinfo_do.jsp~2~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="java.sql.*,java.lang.*" %>
- <%request.setCharacterEncoding("gbk"); %>
- <jsp:useBean id="sql" scope="page" class="control.sqlcontrol" />
- <html>
- <head>
- <title>
- viewinfo_do
- </title>
- </head>
- <body bgcolor="#ffffff">
- <div align="center">
- <%try{
- sql.getSQL2005conn("dbconfig.xml");
- String id = request.getParameter("id");
- String title = request.getParameter("title");
- String context = request.getParameter("context");
- sql.MouChoose("update perinfo set title='"+title+"',context='"+context+"' where id="+id+";");
- response.sendRedirect("infolist.jsp");
- }catch(Exception ex){
- }
- %>
- </div>
- </body>
- </html>