📄 zuixinzhixun_005fdel_005fdeal_jsp.java
字号:
package org.apache.jsp.guanli;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import liangjuyan.dao.zuixinzhixundaoimpl;
public final class zuixinzhixun_005fdel_005fdeal_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("\r\n");
liangjuyan.zuixinzhixun zuixinzhixun = null;
synchronized (_jspx_page_context) {
zuixinzhixun = (liangjuyan.zuixinzhixun) _jspx_page_context.getAttribute("zuixinzhixun", PageContext.PAGE_SCOPE);
if (zuixinzhixun == null){
zuixinzhixun = new liangjuyan.zuixinzhixun();
_jspx_page_context.setAttribute("zuixinzhixun", zuixinzhixun, PageContext.PAGE_SCOPE);
out.write('\r');
out.write('\n');
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(_jspx_page_context.findAttribute("zuixinzhixun"), request);
out.write('\r');
out.write('\n');
}
}
out.write('\r');
out.write('\n');
liangjuyan.chStr chStr = null;
synchronized (_jspx_page_context) {
chStr = (liangjuyan.chStr) _jspx_page_context.getAttribute("chStr", PageContext.PAGE_SCOPE);
if (chStr == null){
chStr = new liangjuyan.chStr();
_jspx_page_context.setAttribute("chStr", chStr, PageContext.PAGE_SCOPE);
}
}
out.write('\r');
out.write('\n');
liangjuyan.conndb conn = null;
synchronized (_jspx_page_context) {
conn = (liangjuyan.conndb) _jspx_page_context.getAttribute("conn", PageContext.PAGE_SCOPE);
if (conn == null){
conn = new liangjuyan.conndb();
_jspx_page_context.setAttribute("conn", conn, PageContext.PAGE_SCOPE);
}
}
out.write('\r');
out.write('\n');
Integer id=zuixinzhixun.getId();
ResultSet rs=conn.executeQuery("select * from haha where id="+id);
if(!rs.next()){
out.println("<script language='javascript'>alert('您的操作有错误!');window.location.href='index.jsp';</script>");
}else{
int ret=0;
zuixinzhixundaoimpl del_zuixinzhixun=new zuixinzhixundaoimpl();
ret=del_zuixinzhixun.delete(zuixinzhixun);
if (ret!=0){
out.println("<script language='javascript'>alert('饰品信息删除成功!');window.location.href='shipinguanli.jsp';</script>");
}else{
out.println("<script language='javascript'>alert('饰品信息删除失败!');window.location.href='shipinguanli.jsp';</script>");
}
}
out.write('\r');
out.write('\n');
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -