Java Reference
In-Depth Information
<tr>
<td>Publisher:</td>
<td><input type="text" size="20" id="publisher"
name="publisher"></td>
</tr>
<tr>
<td>Edition:</td>
<td><input type="text" size="20" id="edition"
name="edition"></td>
</tr>
<tr>
<td>Title:</td>
<td><input type="text" size="20" id="title" name="title">
</td>
</tr>
<tr>
<td>Author:</td>
<td><input type="text" size="20" id="author"
name="author"></td>
</tr>
<tr>
<td><input type="submit" value="Create Catalog"
id="submitForm" name="submitForm"></td>
</tr>
</table>
</form>
</body>
</html>
The catalog.jsp , which gets redirected to if a catalog entry gets created, is
listed below:
<%@ 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>
</head>
<body>
<%
out.println("Database Updated");
%>
</body>
</html>
The error.jsp , which gets redirected to if an error is generated in creating a catalog
entry, is listed below:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
 
Search WWH ::




Custom Search