?? viewcart_0002ejsp_jsp.java
字號:
package shop;
import java.util.*;
import java.sql.*;
import test.bo.*;
import test.models.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class viewCart_0002ejsp_jsp extends HttpJspBase {
// begin [file="/shop/viewCart.jsp";from=(3,0);to=(3,73)]
// end
// begin [file="/shop/viewCart.jsp";from=(4,0);to=(4,66)]
// end
static {
}
public viewCart_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=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/shop/viewCart.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/shop/viewCart.jsp";from=(1,42);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/shop/viewCart.jsp";from=(2,43);to=(3,0)]
out.write("\r\n");
// end
// begin [file="/shop/viewCart.jsp";from=(3,0);to=(3,73)]
test.models.CartItem cartItem = null;
boolean _jspx_specialcartItem = false;
synchronized (session) {
cartItem= (test.models.CartItem)
pageContext.getAttribute("cartItem",PageContext.SESSION_SCOPE);
if ( cartItem == null ) {
_jspx_specialcartItem = true;
try {
cartItem = (test.models.CartItem) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "test.models.CartItem");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"test.models.CartItem", exc);
}
pageContext.setAttribute("cartItem", cartItem, PageContext.SESSION_SCOPE);
}
}
if(_jspx_specialcartItem == true) {
// end
// begin [file="/shop/viewCart.jsp";from=(3,0);to=(3,73)]
}
// end
// HTML // begin [file="/shop/viewCart.jsp";from=(3,73);to=(4,0)]
out.write("\r\n");
// end
// begin [file="/shop/viewCart.jsp";from=(4,0);to=(4,66)]
test.models.Cart cart = null;
boolean _jspx_specialcart = false;
synchronized (session) {
cart= (test.models.Cart)
pageContext.getAttribute("cart",PageContext.SESSION_SCOPE);
if ( cart == null ) {
_jspx_specialcart = true;
try {
cart = (test.models.Cart) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "test.models.Cart");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"test.models.Cart", exc);
}
pageContext.setAttribute("cart", cart, PageContext.SESSION_SCOPE);
}
}
if(_jspx_specialcart == true) {
// end
// begin [file="/shop/viewCart.jsp";from=(4,0);to=(4,66)]
}
// end
// HTML // begin [file="/shop/viewCart.jsp";from=(4,66);to=(13,0)]
out.write("\r\n<table align=\"center\" bgcolor=\"#008800\" border=\"0\" cellspacing=\"2\" cellpadding=\"5\" width=\"80%\">\r\n <tr bgcolor=\"#cccccc\">\r\n <td align=\"center\">鍚嶇О</td>\r\n <td align=\"center\">鍗曚環(鍏
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -