📄 adm_0005forder_0002ejsp_jsp.java
字号:
package admin;
import bookshop.book.*;
import bookshop.run.op_user;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class adm_0005forder_0002ejsp_jsp extends HttpJspBase {
// begin [file="/admin/adm_order.jsp";from=(9,0);to=(9,66)]
// end
// begin [file="/admin/adm_order.jsp";from=(10,0);to=(10,67)]
// end
static {
}
public adm_0005forder_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_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();
// HTML // begin [file="/admin/adm_order.jsp";from=(0,88);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/admin/adm_order.jsp";from=(1,26);to=(2,0)]
out.write("\r\n");
// end
// begin [file="/admin/adm_order.jsp";from=(2,2);to=(5,2)]
if (session.getAttribute("admin")==null || session.getAttribute("admin")==""){
response.sendRedirect("error.htm");
}
// end
// HTML // begin [file="/admin/adm_order.jsp";from=(5,4);to=(7,0)]
out.write("\r\n\r\n");
// end
// HTML // begin [file="/admin/adm_order.jsp";from=(7,36);to=(8,0)]
out.write("\r\n");
// end
// HTML // begin [file="/admin/adm_order.jsp";from=(8,41);to=(9,0)]
out.write("\r\n");
// end
// begin [file="/admin/adm_order.jsp";from=(9,0);to=(9,66)]
bookshop.run.op_buy shop = null;
boolean _jspx_specialshop = false;
synchronized (pageContext) {
shop= (bookshop.run.op_buy)
pageContext.getAttribute("shop",PageContext.PAGE_SCOPE);
if ( shop == null ) {
_jspx_specialshop = true;
try {
shop = (bookshop.run.op_buy) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "bookshop.run.op_buy");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"bookshop.run.op_buy", exc);
}
pageContext.setAttribute("shop", shop, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialshop == true) {
// end
// begin [file="/admin/adm_order.jsp";from=(9,0);to=(9,66)]
}
// end
// HTML // begin [file="/admin/adm_order.jsp";from=(9,66);to=(10,0)]
out.write("\r\n");
// end
// begin [file="/admin/adm_order.jsp";from=(10,0);to=(10,67)]
bookshop.run.op_user user = null;
boolean _jspx_specialuser = false;
synchronized (pageContext) {
user= (bookshop.run.op_user)
pageContext.getAttribute("user",PageContext.PAGE_SCOPE);
if ( user == null ) {
_jspx_specialuser = true;
try {
user = (bookshop.run.op_user) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "bookshop.run.op_user");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"bookshop.run.op_user", exc);
}
pageContext.setAttribute("user", user, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialuser == true) {
// end
// begin [file="/admin/adm_order.jsp";from=(10,0);to=(10,67)]
}
// end
// HTML // begin [file="/admin/adm_order.jsp";from=(10,67);to=(12,0)]
out.write("\r\n\r\n");
// end
// begin [file="/admin/adm_order.jsp";from=(12,2);to=(37,0)]
int pages=1;
String mesg = "";
if (request.getParameter("action")!=null && request.getParameter("action").equals("del")){
try {
long id = Long.parseLong(request.getParameter("indentid"));
if (shop.delete(id)) {
mesg = "鍒犻櫎璁㈠崟璧勬枡鎴愬姛锛
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -