Page lists
Page lists allow you to avoid hardcoding URLs in servlets and JSP files. A page list specifies the location where a request is to be forwarded, but automatically tailors that location depending on the MIME type of the servlet. These properties allow you to specify a markup language and an associated MIME type. For the given MIME type, you also specify a set of pages to invoke.
WebSphere Application Server supplies the PageListServlet, which you can use to call a JavaServer Pages (JSP) file by name based on the configuration data in the client_types.xml file. This file maps a JSP file to a Uniform Resource Identifier (URI). When the URI is invoked, it specifies another JSP file in a Web module. This support allows you to access multiple Uniform Resource Locators (URLs) without hard-coding them in your servlets.
You can also logically group page lists according to the markup language type, as for example, Hypertext Markup Language (HTML) or Wireless Markup Language (WML). This allows applications, using servlets that extend the PageListServlet, to call JSP files that return the proper markup-language type for the client request. For example, if a request originates from a PDA device that requires WML data and is sent to a servlet that extends the PageListServlet, the servlet can call a JSP file that returns a WML response.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.