<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!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=ISO-8859-1">
<title>JSP param Example</title>
</head>
<body>
<form method="get">
<table>
<tr>
<td>Name</td> <td><input type="text" name="name"/></td>
</tr>
<tr>
<td>Password</td> <td><input type="password" name="psw"/></td>
</tr>
<tr><td></td><td><input type="submit" value="submit"/></td></tr>
</table>
</form>
<%
String name= request.getParameter("name");
String psw= request.getParameter("psw");
if(psw!=null && psw.equals("devmanuals"))
{
%>
<jsp:forward page="Forwarded.jsp">
<jsp:param name="paramName" value="Devmanuals"/>
</jsp:forward>
<% } %>
</body>
</html>