September 2002
Intermediate to advanced
608 pages
14h 20m
English
Our MainPage form is rendered as HTML, rather than a JSP, just to show that it is possible to mix and match. By doing so, we eliminate the possibility of using any tag libraries, so we must revert to “vanilla” HTML syntax.
<HTML>
<HEAD>
<TITLE>NFL Standings Main Page</TITLE>
</HEAD>
<BODY>
<H1>Select a Function</H1>
<a href="/nfl-struts/struts/FavoriteTeam">
Show Favorite Team Status</a><br>
<a href="/nfl-struts/struts/LoadTeamlist">
Change User Preference Settings</a><br>
</BODY>
</HTML>
|
The FavoriteTeamAction class is a little different than the Actions we've seen so far. Here, we are preparing output, rather than processing input. We could attach several individual ...
Read now
Unlock full access