Hi
In my html file Iam entering firstname lastname and mail id . so after I click submit button my address bar show this
file:///C:/servjsps/showmail.jspfname=john+&lname=smith&email=john@hotmail.com jsp code:
<html>
<head>
<Title>Displaying Details</Title>
</head>
<body>
<%
String firstName = request.getParameter("fname");
String lastName = request.getParameter("lName");
String mailId = request.getParameter("email");
%>
<h1>Thanks for joining our mailing list</h1>
<p>Here are the details you have entered</p>
<table cellspacing = "5" cellpadding="5">
<tr>
<td align ="right">First Name</td>
<td><%=firstName%></td>
</tr>
<tr>
<td align ="right">Last Name</td>
<td><%=lastName%></td>
</tr>
<tr>
<td align ="right">Email Id</td>
<td><%=mailId%></td>
</tr>
</table>
<form action = "MailList.html" method="post">
<input type = "submit" value = "Return">
</form>
</body>
</html>
the jsp page is not displaying the retrieved values
thanks