BAEL-4408

Adding files for BAEL-4408
This commit is contained in:
gupta-ashu01 2020-08-08 15:02:52 +05:30 committed by GitHub
parent ccfbdd3f9c
commit c5326ca2e8
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
</head>
<body>
<form action="u_login">
<p>Enter your User Id and Password</p>
User ID: <input type="text" name="userId" /><br />
Password: <input type="password" name="password" /> <br /> <input type="submit" value="Login" />
</form>
</body>
</html>

View File

@ -0,0 +1,17 @@
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
</head>
<body>
Hi, User : ${sessionData.getAttribute("userId")}
<br> Your User Data has been updated as below :
<br> User Name: ${sessionData.getAttribute("userName")}
<br> Age : ${sessionData.getAttribute("age")}
</body>
</html>

View File

@ -0,0 +1,18 @@
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
</head>
<body>
<p>Update your User Details:</p>
<form action="update">
User ID: <input type="text" name="userId"
value='<%=request.getAttribute("id")%>' disabled /><br /> User Name:
<input type="text" name="userName" /> Age: <input type="number"
name="age" /> <br /> <input type="submit" value="Update" />
</form>
</body>
</html>