WebRoot/shouye.jsp
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*,java.sql.*" contentType="text/html;charset=gb2312"%>
<%@ page import="com.dao.*"%>
<%@ page import="com.bean.*"%>
<%@ page import="com.util.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
DBO db=new DBO();
shangpinDao dao = db.shangpinDao();
List<shangpin> shangpins=new ArrayList<shangpin>();
String sql=" from shangpin where 1=1";
try{
String lb=(String)request.getParameter("lb");
String sp=(String)request.getParameter("sp");
if(sp!=null){
if(!sp.equals("")){
sql+=" and sp like '%"+sp+"%'";
}
}
if(lb!=null){
if(!lb.equals("")){
splbDao lbdao = db.splbdao();
splb splb=new splb();
splb=lbdao.getsplb(" from splb where 1=1 and splbid='"+lb+"'");
sql+=" and splb='"+splb.getLb()+"'";
}
}
System.out.println(sql);
}catch(Exception e){
System.out.println(e.toString());
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%= request.getContextPath() %>inc/ys.css" rel="stylesheet" type="text/css">
<link href="css/webmain.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<td align="center"><jsp:include page="header.jsp"/></td>
</tr><tr>
<td><img src="images/spacer.gif" width="1" height="8"></td>
</tr>
<tr>
<td align="center"><table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="190" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
后面还有 183 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。