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
/
NEWUSER.JSP
81 lines (67 loc) · 3.85 KB
/
NEWUSER.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
79
80
81
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ page language="java" import="feelsafeLogic.*" %>
<jsp:directive.page import="com.feelsafe.struts.form.FeelSafeForm"/>
<%@ 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>newuser.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=newuser">
<%
FeelSafeLogic feelSafeLogic=new FeelSafeLogic();
%>
<center>
<table cellpadding="0" cellspacing="0" width="740" height="543" bgcolor="white">
<tr height="20"><td ><table>
<tr><td width="600" height="50px">
<b style=""><span style='font-size: 20pt; font-family: "Times New Roman"; color: rgb(74, 21, 117);'>FEELSAFE HOSPITAL</span></b><b style=""><span style='font-size: 20pt; font-family: "Times New Roman"; color: rgb(74, 21, 117);'></span></b>
</td><td>
<img src="../images/img1.jpg" alt="FEELSAFE HOSPITAL">
</td>
</table> </td></tr>
<tr ><td >
<h3 align="center">New User Registration</h3><br>
<bean:write property="errorMessage" name="feelSafeForm" filter="false"/>
<table align="center">
<tr><td align="right">User Id</td><td><html:text property="userid"></html:text></td></tr>
<tr><td align="right">Password</td><td><html:text property="password"></html:text></td></tr>
<tr><td align="right">First Name</td><td><html:text property="firstname"></html:text></td></tr>
<tr><td align="right">Last Name</td><td><html:text property="lastname"></html:text></td></tr>
<tr><td align="right">Permanent Address</td><td><html:textarea property="permanentaddress" cols="16"></html:textarea></td></tr>
<tr><td align="right">Phone Number</td><td><html:text property="phonenumber"></html:text></td></tr>
<tr><td align="right">Sex</td><td> <html:radio property="sex" value="1">Male </html:radio><html:radio property="sex" value="2">Female</html:radio> </td></tr>
<tr><td align="right">Nationality</td><td><html:text property="nationality"></html:text></td></tr>
<tr><td align="right">Need Consult For</td><td><html:text property="specialist"></html:text></td></tr>
<tr><td align="right">Description</td><td><html:text property="qualification"></html:text></td></tr>
<tr><td align="right">Type the text given below</td><td><html:text property="textverification"></html:text></td></tr>
<tr><td></td><td><b><font color="green"> <%=feelSafeLogic.id1()%> </font></b> </td></tr>
<tr><td height="20"></td><td></td></tr>
<tr align="center"><td colspan="2"><html:submit></html:submit><html:reset></html:reset> <html:button property="cancel1" onclick="history.go(-1);">Cancel</html:button> </td></tr>
</table>
</td></tr>
<tr heigth="20" valign="top"><td > </td></tr>
</table>
</center>
<%
FeelSafeForm feelSafeForm=new FeelSafeForm();
feelSafeForm.setConsultinghours(feelSafeLogic.id2());
%>
</html:form>
</body>
</html:html>