<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -->
<!-- <html> -->
<!-- <head> -->
<!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -->
<!-- <title>Login</title> -->
<!-- </head> -->
<!-- <body> -->
	<h3>User Login</h3>
	<form action="login" method="post">
		<pre>
			<input type="text" name="email" placeholder="Please Enter Your Email" required/>
			<input type="password" name="password" placeholder="Enter Password" required/>
			<input type="submit" name="sub" value="Login"/>
		</pre>
		<%
			String str = (String) request.getAttribute("message");
			if(str!=null){
				out.print(str);
			}
		%>
	</form>	
	<a href="/registration.jsp">Register</a>
<!-- </body> -->
<!-- </html> -->