Java Project.docx
- 文档编号:3977386
- 上传时间:2022-11-26
- 格式:DOCX
- 页数:35
- 大小:25.54KB
Java Project.docx
《Java Project.docx》由会员分享,可在线阅读,更多相关《Java Project.docx(35页珍藏版)》请在冰豆网上搜索。
JavaProject
-----------------------------------------------------------------------index.jsp
<%@pagelanguage="java"import="java.util.*"pageEncoding="gb2312"
contentType="text/html;charset=gb2312"%>
<%
Stringpath=request.getContextPath();
StringbasePath=request.getScheme()+":
//"
+request.getServerName()+":
"+request.getServerPort()
+path+"/";
%>
DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN">
--
-->
src="javascript/validate.js"> src="javascript/defaultValue.js"> src="javascript/keyPress.js"> cellspacing="2"bgcolor="#1EB362"> value="Enteryourenglishname"onFocus="clearValue(this)" onBlur="restoreValue(this)"/> src="images/login.gif" onclick="validate();returnfalse;"onKeyPress="keyEvent();"> src="images/reset.gif"border=0 onclick="javascript: document.forms['login'].reset();returnfalse;"> <%@includefile="/utility/bottom.txt"%> ------------------------------------------------------------------------------------------bottom.txt <%@pagecontentType="text/html;charset=gb2312"%> -------------------------------------------------------------------------------------------utilityCheck_login.txt StringuserName=(String)session.getAttribute("userName"); StringuserType=(String)session.getAttribute("userType"); if(userName==null||userType==null){ response.sendRedirect("/UniversityInfoMS/utility/IllegalLoginPage.jsp"); } -------------------------------------------------------------------------------------------fontPage.jsp <%@pagelanguage="java"import="java.util.*"pageEncoding="UTF-8"%> <% Stringpath=request.getContextPath(); StringbasePath=request.getScheme()+": //" +request.getServerName()+": "+request.getServerPort() +path+"/"; %> DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"> content="10;url=/IT_Help_Request/index.jsp"> -- --> <%@includefile="utilityCheck_login.txt"%> bgcolor="#3399ff">
href="<%=basePath%>utility/VisitList.jsp">历史登录详情列表 src="/IT_Help_Request/images/loading.gif"/>
<%@includefile="bottom.txt"%>
-----------------------------------------------------------------------------------------------------left.jsp
<%@pagelanguage="java"import="java.util.*"pageEncoding="UTF-8"%>
<%@pageimport="java.util.List"%>
<%
Stringpath=request.getContextPath();
StringbasePath=request.getScheme()+":
//"
+request.getServerName()+":
"+request.getServerPort()
+path+"/";
%>
DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN">
--
-->
rel="stylesheet"/> rel="stylesheet"/> src="/IT_Help_Request/javascript/dtree.js"> onload=""marginheight="0"marginwidth="0"> <%@includefile="utilityCheck_login.txt"%> cellspacing="0"> height="27"/> background='/IT_Help_Request/left_images/left-background.gif'> -- tree=newdTree('tree'); <%--Stringtype=(String)session.getAttribute("userType"); Function_dalfunction_dal=newFunction_dal(); ArrayList for(inti=0;i Functiontemp=newFunction(); temp=functions.get(i);%> tree.add("<%=temp.getId()%>", "<%=temp.getPid()%>", "<%=temp.getName()%>", "<%=temp.getUrl()%>", "", "<%=temp.getTarget()%>", "<%=temp.getIcon()%>", "<%=temp.getIconOpen()%>", "true"); <%}--%> document.write(tree); //--> -- width="200"height="19"/>