这个jsp页面没有导入jquery,为什么可以用jquery的函数?
<%@pagelanguage="java"import="java.util.*,com.qdzq.iacp.entity.*,com.qdzq.zzpt.vo.*"p...
<%@ page language="java"
import="java.util.*,com.qdzq.iacp.entity.*,com.qdzq.zzpt.vo.*"
pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
//Page<zzpt_car> p = (Page<zzpt_car>) request.getAttribute("page");
List<Iacp_device> trees = (List<Iacp_device>)request.getAttribute("deviceList");
%>
<div class="pageContent">
<div class="pageFormContent" layoutH="58">
<ul class="tree expand">
<li><a href="javascript:">中国设备</a>
<ul>
<li><a href="javascript:">A组</a>
<ul>
<% for(Iacp_device device:trees){
%>
<li><a href="javascript:" onclick="$.bringBack({id:'<%=device.getDevice_code() %>', device_name:'<%=device.getDevice_name() %>'})">
<%=device.getDevice_name() %>(<%=device.getDevice_code() %>)
</a>
</li>
<%
}
%>
</ul>
</li>
<li><a href="javascript:">B组</a>
</li>
</ul>
</li>
<li><a>美国设备</a>
<ul>
<li><a href="javascript:">A组</a>
</li>
<li><a href="javascript:">B组</a>
</li>
</ul>
</li>
</ul>
</div>
<div class="formBar">
<ul>
<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
</ul>
</div>
</div> 展开
import="java.util.*,com.qdzq.iacp.entity.*,com.qdzq.zzpt.vo.*"
pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
//Page<zzpt_car> p = (Page<zzpt_car>) request.getAttribute("page");
List<Iacp_device> trees = (List<Iacp_device>)request.getAttribute("deviceList");
%>
<div class="pageContent">
<div class="pageFormContent" layoutH="58">
<ul class="tree expand">
<li><a href="javascript:">中国设备</a>
<ul>
<li><a href="javascript:">A组</a>
<ul>
<% for(Iacp_device device:trees){
%>
<li><a href="javascript:" onclick="$.bringBack({id:'<%=device.getDevice_code() %>', device_name:'<%=device.getDevice_name() %>'})">
<%=device.getDevice_name() %>(<%=device.getDevice_code() %>)
</a>
</li>
<%
}
%>
</ul>
</li>
<li><a href="javascript:">B组</a>
</li>
</ul>
</li>
<li><a>美国设备</a>
<ul>
<li><a href="javascript:">A组</a>
</li>
<li><a href="javascript:">B组</a>
</li>
</ul>
</li>
</ul>
</div>
<div class="formBar">
<ul>
<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
</ul>
</div>
</div> 展开
3个回答
展开全部
应该是用了模板框架。
追问
什么意思?从哪一部可以看出?
追答
看来你不会用dwz。这个框架在首页引入一次库,它的子页面都不用引用,甚至可以不用写标准的页面标签。dwz是把子页面都以嵌入的方式实现的。你可以试试在子页面中onload函数,是不执行的。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这好像不是jquery吧?那就是内嵌的java代码
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询