WebRoot/llg/orderInfo3.jsp
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.accp.myShopping.llg.car.entity.*,com.accp.myShopping.llg.user.entity.*,com.accp.myShopping.llg.user.dao.*,
com.accp.myShopping.llg.car.entity.*,com.accp.myShopping.llg.car.dao.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
String uid=request.getParameter("uid");
if(uid==null){
out.println("<script> history.go(-1); </script>");
return ;
}
ShoppingCarDao car=(ShoppingCarDao)session.getAttribute("goodsInfo");
UserAddressBean uBean=new UserAddressDao().findUserAddressByUid(Integer.parseInt(uid));
if(uBean==null||car==null){
out.println("<script> history.go(-1); </script>");
}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>llg/">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="css/orderInfo.css" type="text/css">
<title>订单详细信息</title>
</head>
<body>
<div style="width:100%; margin-top:30px">
<table width="575" height="122" border="0.5" bordercolor="#D6E0EF" cellpadding="0" cellspacing="0">
<tr>
<td width="9" style="border-right:1px #698CC3 solid"> </td>
<td height="24" colspan="5" bgcolor="#698CC3" style="color:#FFFFFF; text-align:left; font-weight:bold; font-size:13px" >订单信息</td>
<td height="24" > </td>
</tr>
<tr style="font-size:13px; font-weight:bold; color:black; ">
<td width="9" style="border-right:1px #698CC3 solid"> </td>
<td width="122" height="32" class="tds" >编号</td>
<td width="137" align="left" class="tds" >商品名</td>
<td width="132" class="tds" style="font-weight:bold">单价</td>
<td width="84" class="tds">数量</td>
<td width="84" class="tds">小计</td>
<td width="7" class="tds" style="border-left:1px #698CC3 solid; border-right:0; border-bottom:0"> </td>
</tr>
<%
int count=0;
double sum=0.0;
for(ShoppingBean sBean:car.getAllShopping()){
GoodsBean gBean=sBean.getGoodsBean();
%>
<tr>
<td width="9" style="border-right:1px #698CC3 solid"> </td>
<td height="27" width="122" class="tds"><%=++count %></td>
<td class="tds"><%=gBean.getKeyworkds()%></td>
后面还有 106 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
