xiaoneigongxiang/WebRoot/xuesheng/xinwenDetail.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
  <head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" />
<link type="text/css" rel="stylesheet" href="<%=path %>/css/product.css" />
<script type="text/javascript" src="<%=path %>/js/common.js"></script>
    <script type="text/javascript">
     function goumai()
	        {
	            <c:if test="${sessionScope.xuesheng==null}">
	                alert("请先登录");
	            </c:if>
	              <c:if test="${sessionScope.userType==1}">
	              
	        
		            if(document.buy.shuliang.value=="")
		            {
		                alert("请输入购买数量");
		                return false;
		            }
		             if(document.buy.shuliang.value<1)
		            {
		                alert("购买数量必须大于等于1");
		                return false;
		            }
		             
		              if(document.buy.shuliang.value>document.buy.wpshuliang.value)
		            {
		                alert("购买数量不能大于库存数量");
		                return false;
		            }
		            document.buy.submit();
	            </c:if>
	        }
    </script>
  </head>
  
  <BODY>
      <jsp:include flush="true" page="/xuesheng/inc/incTop.jsp"></jsp:include> 
		<div class="main">
    <div class="location"><span class="icon"></span>你现在的位置:<a href="#">新闻</a>&gt;<a class="current_a" href="#">新闻详情</a> </div>
    	<div class="box5">
       <form action="<%=path %>/jiaoyi?type=jiaoyiAdd" method="post" name="buy">
        <ul class="con_right">
            <li class="title">${requestScope.xinwen.xwbiaoti}</li>
            <li>${requestScope.xinwen.xwneirong} </li>
后面还有 9 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。