BAEL-4408
Adding files for BAEL-4408
This commit is contained in:
parent
ccfbdd3f9c
commit
c5326ca2e8
15
javax-servlets/src/main/webapp/WEB-INF/jsp/main.jsp
Normal file
15
javax-servlets/src/main/webapp/WEB-INF/jsp/main.jsp
Normal 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>
|
17
javax-servlets/src/main/webapp/WEB-INF/jsp/update.jsp
Normal file
17
javax-servlets/src/main/webapp/WEB-INF/jsp/update.jsp
Normal 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>
|
18
javax-servlets/src/main/webapp/WEB-INF/jsp/userlogin.jsp
Normal file
18
javax-servlets/src/main/webapp/WEB-INF/jsp/userlogin.jsp
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user