WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Configuring page list servlet client configurations

Why and when to perform this task

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 an assembly tool.

To configure and implement page lists:

Steps for this task

  1. To configure page list information, use the Add Markup Language entry dialog of an assembly tool. On the Servlets tab of a Web deployment descriptor editor, select a servlet and click Add under WebSphere Extensions.
  2. 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
  3. Use the PageList Servlet client type detection support to determine the markup language type a calling client requires for the response.



Sub-topics
Page lists
Client type detection support
client_types.xml
Example: Extending PageListServlet

Related reference
Web applications: Resources for learning

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tweb_ssplx.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)