Within a toolkit application, you will normally invoke a JSP from within another JSP. A user action in the form usually requires the execution of some business logic and a reply JSP form. However, in some cases a simple page is required to display some data values available in the session context, or an initial form is requested to start a very simple navigation process that may only be composed of a single reply page. Invoking a JSP directly from the user interface as a standard HTTP resource is not recommended because it does not invoke the toolkit's multichannel interfaces, thus disabling the ability to get access to the contexts hierarchy. In these cases, JSPs must be invoked through an special operation built for this purpose.
The following example from menu.jsp in the HTML Sample Application shows how to invoke a JSP: