You can incorporate JavaServer Pages (JSPs) into your models using the following builders:
Adds JSP directives to a page in the model.JSP Proxy Page
Routes requests to an existing JSP page to an action in the model, allowing you to insert model functionality into an existing JSP application.JSP Tag
Allows you to use a JSP Tag library within a page in the model.
In addition to these JSP-specific builders, you can also hand code JSP or use existing JSP in any IBM® WebSphere® Portlet Factory pages (Imported Page builder, Page builder, Imported Directory builder, and so on), as long as they do not perform the following actions:
- Setting response headers
WebSphere Portlet Factory pages are always invoked using include, disallowing these actions.
The Imported Directory builder can often work quite well for bringing in a set of existing JSPs, including inter-page actions/links, provided that they adhere to the caveats above.
Processing redirections: wpf7
If any of the JSP pages that you import for use in a model contain any redirection code, you will need to re-implement this behavior with a method in your model.
Parent topic: Creating pages: wpf7
Precompiling model JSPs: wpf7