Hi, I have a question about an example I am studying. The design of the application is that if the processing bean detects that a user is not registerd (from db) then the
JSP page that invoked the bean will forward to a register JSP page, which is like this
<html>
<head>
<title>Customer Registration</title>
</head>
<body>
<center><h1>Customer Registration</h1></center>
<hr>
Please register.
<form action="/JSPTechSupport/register.jsp" method="POST">
<table>
<tr>
<td>First Name:</td>
<td><input type="text" name="firstName" size="30"></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="lastName" size="30"></td>
</tr>
<tr>
<td>Phone Number:</td>
<td><input type="text" name="phoneNumber" size="30"></td>
</tr>
</table>
<br><input type="submit" value="Submit Request">
</form>
</body>
</html>
My question is, why is it a JSP and not HTML instead? JSP hes to be translated into a
servlet and takes more resources, right?