-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.jsp
35 lines (30 loc) · 984 Bytes
/
admin.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0);
%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%
String adminUser=(String)session.getAttribute("adminUser");
System.out.println(adminUser);
if(adminUser != null){
%> <jsp:include page="../jsp/header.jsp"/><%
}%>
</head>
<body>
<div class="home-content-wrapper">
<div class="overlay-box">
<div class="container">
<div class="welcome-text">Hiiii <%= adminUser%> WELCOME TO <br/>Human Resource Management System Project in Java</div>
</div>
</div>
</div>
</body>
</html>