Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop web applications > Develop web applications > Develop servlets > Develop servlets with WAS extensions > Configure page list servlet client configurations

Page lists

Page lists allow you to avoid hard-coding Uniform Resource Locators (URLs) in servlets and JSP files. A page list specifies the location where a request is to be forwarded, but automatically customizes that location depending on the MIME type of the servlet. Use these properties to specify a markup language and an associated MIME type. For the given MIME type, you also specify a set of pages to invoke.

The PageList Servlet custom extension is deprecated in WAS v8.0 and will be removed in a future release. Re-architect your legacy applications to use javax.servlet.filter classes instead of classes. Starting from the Servlet 2.3 specification, javax.servlet.filter classes you can intercept requests and examine responses. We can also use javax.servlet.filter classes to achieve chaining functionality, as well as embellishing or truncating responses. The following list of classes are deprecated:

WAS supplies the PageListServlet servlet, which you can use to call a 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 URLs without hard-coding them in your servlets.

We can also logically group page lists according to the markup language type, such as, Hypertext Markup Language (HTML) or Wireless Markup Language (WML). This allows applications that use servlets to extend the PageListServlet servlet, to call JSP files which return the proper markup-language type for the client request. For example, a request that originates from a PDA device requires WML data. The application server sends the request to a servlet that extends the PageListServlet servlet, and the servlet calls a JSP file that returns a WML response.
Configure page list servlet client configurations


Client type detection support
Web applications: Resources for learning


Search Tips   |   Advanced Search