This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appointmentreports.jsp
78 lines (67 loc) · 2.61 KB
/
appointmentreports.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ page language="java" import="feelsafeHibernatePackage.*, feelsafeLogic.*, java.util.* " %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<html:base />
<title>employees.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<html:form action="/feelSafe.do?do=appointmentreports1">
<center>
<b><font color="#FF0000"> APPOINTMENT REPORTS</font> </b><br><br>
<%
FeelSafeLogic feelSafeLogic=new FeelSafeLogic();
List list=feelSafeLogic.readDoctor();
Employees employees;
int j=0;
%>
<table>
<tr><td align="right">Doctor Name</td><td><html:select property="doctorname"><html:option value="select">---- Select ----</html:option>
<%
for(Iterator i=list.iterator();i.hasNext();)
{
j++;
employees=(Employees)i.next();
%>
<html:option value="v<%=j %>"> <%=employees.getFirstname() %> <%=employees.getLastname() %> </html:option>
<%
}
%>
</html:select></td></tr>
<tr><td align="right">Specialist in the Field of</td><td><html:select property="specialist"><html:option value="select">---- Select ----</html:option>
<%
j=0;
for(Iterator i=list.iterator();i.hasNext();)
{
j++;
employees=(Employees)i.next();
%>
<html:option value="v<%=j %>"><%=employees.getSpecialist() %></html:option>
<%
}
%>
</html:select></td></tr>
</table>
<br><br>
<table border="1">
<tr><td width="200"><font color="blue"><b> PATIENT NAME</b></font></td><td width="155"><font color="blue"><b> USER ID</b></font></td><td width="155"><font color="blue"><b> DATE</b></font></td><td width="240"><font color="blue"><b> CONSULTATION TIME</b></font></td></tr>
</table>
</center>
</html:form>
</body>
</html:html>