Commit c4145d10 authored by 赵桢's avatar 赵桢

默认列表

parent a682104c
...@@ -64,16 +64,17 @@ ...@@ -64,16 +64,17 @@
<% <%
Cookie[] cookies = request.getCookies(); Cookie[] cookies = request.getCookies();
String SESSION = ""; String SESSION = "";
for(int i = 0; i < cookies.length; i++) { for(int i = 0; i < cookies.length; i++) {
if ("SESSION".equals(cookies[i].getName())) { if ("SESSION".equals(cookies[i].getName())) {
SESSION = cookies[i].getValue(); SESSION = cookies[i].getValue();
} }
} }
request.setAttribute("SESSION", SESSION); request.setAttribute("SESSION", SESSION);
%> %>
var url = "http://localhost:8081/#/one?session=<%=request.getAttribute("SESSION")%>+&realID=" + <%--var url="http://localhost:8081/#/one?session=<%=request.getAttribute("SESSION")%>"--%>
<%=request.getSession().getAttribute("realID")%> var url = "http://localhost:8081/#/one?session=<%=request.getAttribute("SESSION")%>&realID=" + createId
// alert(url) // alert(url)
var iframe = $('<iframe width="100%" height="100%" src="' + url + '"></iframe>') var iframe = $('<iframe width="100%" height="100%" src="' + url + '"></iframe>')
$("#iframe").append(iframe) $("#iframe").append(iframe)
...@@ -84,14 +85,12 @@ ...@@ -84,14 +85,12 @@
<div style="width: 200px;height:20px; z-index: 20000; position: absolute; text-align: center; left: 50%; top: 50%;margin-left:-100px;margin-top:-10px"> <div style="width: 200px;height:20px; z-index: 20000; position: absolute; text-align: center; left: 50%; top: 50%;margin-left:-100px;margin-top:-10px">
         
<div class="progress progress-striped active" style="margin-bottom: 0;background-color:rgba(0,0,0,0)"> <div class="progress progress-striped active" style="margin-bottom: 0;background-color:rgba(0,0,0,0)">
    <img src="<%=request.getContextPath()%>/res/im     <img src="<%=request.getContextPath()%>/res/image/loading.gif"><span
age / loading.gif style="color: white">数据加载中,请稍候...</span>
"><span style="
color: white
">数据加载中,请稍候...</span>
< /div>
</div> </div>
  
</div> </div>
</div>
</body> </body>
</html> </html>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment