Java Reference
In-Depth Information
Listing 3-35. WEB-INF/jsp/createClaim.jsp
<title>New Claim</title>
<form action="" method="POST">
Claimant Name <input type="text" name="claimantName" value="" /><br/>
Policy Number <input type="text" name="policyNo" value="" /><br/>
Product Code<input type="text" name="productCd" value="" /><br/>
<input type="submit" value="Save" />
Finally, the controller needs to be added in the Spring configuration, as shown in
Listing 3-36.
Listing 3-36. insurance-servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
<!- - Other beans - ->
<bean name="/"
class="" />
Search WWH ::

Custom Search