Java Reference
In-Depth Information
L ISTING 22.2
Continued
<input type=”hidden” value=”/getquote.jsp” name=”target”>
</form>
</td>
</table>
<hr>
The next section of your trader layout is the Navigation section. It is how users will choose the
actions that they will perform. The navigation.jsp page contains the JSP functionality to
build the Navigation portion of your trader application. This file contains a list of hard-coded
hyperlinks that execute the Buy and Sell services, which will be defined in the following sec-
tions. Figure 22.3 shows an image of the Navigation.
22
F IGURE 22.3
The Navigation.
The source for the Navigation part of your Views is in Listing 22.3.
L ISTING 22.3
navigation.jsp
<table width=”129” border=”0”>
<tr>
<td><a href=”/trader/tradeform.jsp”>Buy</a></td>
</tr>
<tr>
<td><a href=”/trader/tradeform.jsp”>Sell</a></td>
</tr>
<tr>
<td>
<hr>
</td>
</tr>
 
Search WWH ::




Custom Search