Logistics_Manage_System/WebContent/WEB-INF/shopping/shopping_info.jsp
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@page import="com.wt.entity.Book"%>
<%@page import="java.util.List"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的购物车</title>
<link rel="shortcut icon" href="image/favicon.ico" />
<link rel="stylesheet" href="static/css/shopping/style.css" media="all">
<link rel="stylesheet" href="static/css/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="static/css/shopping/shopping_info.css" media="all">
</head>
<body>
<jsp:include page="../base/nav_content.jsp"></jsp:include>
<%
String islogin = "none";
String info = "none";
String list = "none";
String enough = "none";
String username = (String) session.getAttribute("username");
String notEnough = (String) session.getAttribute("notEnough");
String w_q = (String) session.getAttribute("w_q");
String bookname = (String) session.getAttribute("bookname");
List<Book> books = (List<Book>)session.getAttribute("books");
System.out.println("books ---- " + books);
if(notEnough != null){
enough = "block";
}
if (username == null) {
islogin = "block";
} else {
}
if(books.size() != 0){
list = "block";
}
else{
info = "block";
}
%>
<div class="info" class="wrap" style="display: <%=enough%>">
<h1><%= bookname %> 库存不足,目前仅为 <%= w_q %> 本,请重新核对购物车信息 ~~</h1>
后面还有 36 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
