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">
">
ITHelpRequestSystem
--
-->
src="javascript/validate.js">
src="javascript/defaultValue.js">
src="javascript/keyPress.js">
cellspacing="2"bgcolor="#1EB362">
ITHelpRequestSystem
|
onclick="this.style.behavior='url(#default#homepage)';this.sethomepage('<%=basePath%>');returnfalse;"
href="<%=basePath%>">设为首页
onclick="window.external.AddFavorite('<%=basePath%>','ITHelpRequestSystem');returnfalse;"
href='<%=basePath%>'>加入收藏
用 户 名:
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"%>
Copyright(C)2011.7-2012.12 poweredbyLarryChi.AllRightsReserved.
-------------------------------------------------------------------------------------------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">
">
WelcomePage
content="10;url=/IT_Help_Request/index.jsp">
--
-->
<%@includefile="utilityCheck_login.txt"%>
bgcolor="#3399ff">
WelcometologinITHelpRequestSystem! |
DevelopByLarryChi
Thisisyourtimeslogin ^_^ 本系统总访问量:
|
正在为您自动跳转至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">
">
ITHelpRequestSystemLeftFrame
--
-->
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();
ArrayListfunctions=function_dal.select(type);
for(inti=0;iFunctiontemp=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"/>
|