WebRoot/Stock/stock_warning.jsp

(开头部分) 2KB

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

<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
  <head> 
    <title>汽车库存信息报警</title>  
    <link href="<%=basePath %>css/stock.css" rel="stylesheet" type="text/css"  />
    <script src="<%=basePath %>js/basic_function.js" type="text/javascript"></script>
    <script src="<%=basePath %>js/utf-8.js" type="text/javascript"></script> 
  </head>
  
  <body>
	 <s:if test="#request.result != null"> 
		<script>alert(UTF_8.decode('<s:property value="#request.result"/>'));</script>
	</s:if>
	
  <div id="container">
  	<div id="title">
  		<table width="98%" border="0" cellpadding="0" cellspacing="2" align="center">
		<tr> 
		    <td height="21"> <img src="<%=basePath %>images/ico/ico08.gif" /><font size="+1"><strong>库存记录查询</strong></font>
		    <script>writeSpaces(100);</script>
		    <img src="<%=basePath %>images/print.jpg" title="打印"  style="cursor:hand;" onClick="preview();"> </td>
		  </tr>
		</table>
  	</div>
  	<div id="content">
  		 
		
		<!--startprint-->
		<table width="98%" border="1" cellspacing="1" cellpadding="2" align="center" class="TableMenu">
  			<tr class="a1" style="color:#ffffff;font-size:12px;"> 
	   	 		<th height="30">编号</th>
		 		<th>汽车名称</th>
				<th>库存数量</th>
      </tr>
  			 <s:if test="#request.stockInfoList.size()==0"> 
  				<tr><td colspan=8 align="center">没符合条件的查询结果!</td></tr>                   
   			</s:if> 
    		<s:else>
   			<s:iterator value="stockInfoList">
   			<tr>
   				<td align="center"><s:property value="stockId"/></td>
   				<td align="center"><s:property value="carname"/></td>
   				<td align="center">
   					<font color="red"><b>
   					<s:property value="stockCount"/>
   					</b></font>
   				</td>
   			</tr>	 
  			</s:iterator>   
			</s:else>
		</table>
		<!--endprint-->
  	</div>
后面还有 4 行代码,购买后查看完整代码

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

AI 解读 AI

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

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