The objective of this workshop is to use the forward action to redirect the workflow according to a choice made by the user. Here we display a list of workshops to the user and when one is selected the application displays that workshop.
This workshop should take no longer than 60 minutes.
The following demonstrates the objective of this workshop.
This file displays a select box whose options have a value attribute as the file name of the workshop. The form posts the request to 'forward.jsp'.
We want this file to pick up the choice made by the user and then forward the workflow to the required JSP.
strWorkshop the value of the
option selected by the user.if statement that checks that strWorkshop is neither
null nor empty.<HTML> <BODY> <P>Missing parameter</P> </BODY> </HTML>
strWorkshop.
Remember that action tags are written to the HTML part of a JSP not inside <%..%> tags
If you couldn't get your solution to work then click the icon to display the source code

The following quiz tests your knowledge of the include and forwrd actions.