📄 supertype_0005fadd_0005fdeal_0002ejsp_jsp.java
字号:
package manage;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
import com.wgh.dao.SuperTypeDaoImpl;
public class superType_0005fadd_0005fdeal_0002ejsp_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
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");
commerce.SuperType SuperType = null;
synchronized (pageContext) {
SuperType = (commerce.SuperType) pageContext.getAttribute("SuperType", PageContext.PAGE_SCOPE);
if (SuperType == null){
try {
SuperType = (commerce.SuperType) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "commerce.SuperType");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "commerce.SuperType", exc);
}
pageContext.setAttribute("SuperType", SuperType, PageContext.PAGE_SCOPE);
out.write("\r\n");
JspRuntimeLibrary.introspect(pageContext.findAttribute("SuperType"), request);
out.write("\r\n");
}
}
out.write("\r\n");
com.wgh.DB.chStr chStr = null;
synchronized (pageContext) {
chStr = (com.wgh.DB.chStr) pageContext.getAttribute("chStr", PageContext.PAGE_SCOPE);
if (chStr == null){
try {
chStr = (com.wgh.DB.chStr) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.wgh.DB.chStr");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "com.wgh.DB.chStr", exc);
}
pageContext.setAttribute("chStr", chStr, PageContext.PAGE_SCOPE);
}
}
out.write("\r\n");
com.wgh.DB.connDB conn = null;
synchronized (pageContext) {
conn = (com.wgh.DB.connDB) pageContext.getAttribute("conn", PageContext.PAGE_SCOPE);
if (conn == null){
try {
conn = (com.wgh.DB.connDB) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.wgh.DB.connDB");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "com.wgh.DB.connDB", exc);
}
pageContext.setAttribute("conn", conn, PageContext.PAGE_SCOPE);
}
}
out.write("\r\n");
JspRuntimeLibrary.include(request, response, "safe.jsp", out, false);
out.write("\r\n");
String typename=chStr.chStr(SuperType.gettypename());
ResultSet rs=conn.executeQuery("select * from tb_superType where typename='"+typename+"'");
if (rs.next()){
out.println("<script language='javascript'>alert('璇ュぇ鍒嗙被淇℃伅宸茬粡娣诲姞锛岃
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -