Includes and Links
The non-login JSPs in the bball webapp contain Logout links by
including this header.jsp page.
- The
link is rendered as an ordinary HTML anchor tag a whose body is a
Struts html:img tag
- Clicking on the image causes Struts to pass
control to the
logout action,
as specified in the a tag's href attribute
- The action mapping
does not specify a form bean, since none is used by the LogoutAction
class
- The action simply invalidates the user's session, if one exists, and
forwards directly to the login page