Configure page list servlet client configurations
Overview
You can define PageListServlet configuration information in the IBM Web Extensions file. The IBM Web Extensions file is created and stored in the Web Applications archive (WAR) file by the.To configure and implement page lists:
- To configure page list information,
- Add the callPage() method to your servlet to invoke a JavaServer Page (JSP) file in response to a client request.
The PageListServlet has a callPage() method that invokes a JSP file in response to the HTTP request for a page in a page list. The callPage() method can be invoked in one of the following ways:
- callPage(String pageName, HttpServletRequest request, HttpServletResponse response)
where the method arguments are:
- pageName
- A page name defined in the PageListServlet configuration
- request
- The HttpServletRequest object
- response
- The HttpServletResponse object
- callPage(String mlName, String pageName, HttpServletRequest request, HttpServletResponse response)
where the method arguments are:
- mlName
- A markup language type
- pageName
- A page name defined in the PageListServlet configuration
- request
- The HttpServletRequest object
- response
- The HttpServletResponse object
- Use the PageList Servlet client type detection support to determine the markup language type a calling client requires for the response.
Page lists
Client type detection support
client_types.xml
Example: Extending PageListServlet
Web applications: Resources for learning