You can create a Web interaction that ends a Web application, and either does not require communication with a program, or invokes a cleanup procedure for the job on the iSeries host when an application ends. You can also create a web interaction that does not require a persistent iSeries job.
Note: The No program call option is only available if you are defining an interaction that uses input and output pages that have already been created. If either Generate input JSP or Generate output JSP are selected on the second page of the wizard, Specify the Input and Output Pages for your Web Interaction, then this option is not available.
For example, if you want to use a logout action to end the Web application, you could create an input JSP page with a logout button, and an output JSP page to confirm the logout action. When you start the Web Interaction wizard to create this no program call interaction, you select Invalidate session after the interaction occurs to indicate that this is the last interaction for the application. In the Web Interaction wizard, you specify the input and output JSP pages you want to use, select the no program call option, and create the Web interaction with the wizard. You do not do any mapping of JSP fields to program or service program parameters because no communication takes place between the pages and the program or service program on the iSeries host.
However, If you want to cleanup a job on the iSeries host, you select Invalidate session after the interaction occurs, but then select the Use an iSeries program or procedure radio button instead of the No program call radio button in the Web Interaction wizard. This lets you specify a procedure to be invoked when this last interaction occurs. When the procedure ends, the interaction invalidates the session and ends the iSeries job.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.