InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.8: Administering Web modules (overview) >
6.6.8.0: Web module properties >
6.6.8.0.3: Assembly properties for page lists

6.6.8.0.3: Assembly properties for 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. For example, if you define a markup language named VXML and associate it with a vxml MIME type, you can then define Page names and URIs to be invoked for that particular MIME type. The Page names end in .page and are the same name for all markup languages. However, the URIs are set to point to files that are particular to the given MIME type. For example, if a page is called ShowAccount.page and is in a markup language named VXML, the URI is ShowAccountVXML.jsp. In a markup language named HTML, the URI is ShowAccountHTML.jsp. When the servlet refers to ShowAccount.page, the actual file to which the request maps depends on the servlet's MIME type.

Name
Specifies the name of the markup language--for example, HTML, WML, and VXML.

MIME Type
Specifies the MIME type of the markup language--for example, text/html and text/x-vxml.

Error Page
Specifies the name of an error page.

Default Page
Specifies the name of a default page.

Pages - Name
Specifies the name of the page to be served, for example, StockQuoteRequest.page.

Pages - URI
Specifies the URI of the page to be served, for example, examples/StockQuoteHTMLRequest.jsp.
Go to previous article: 6.6.8.0.2: Assembly properties for initialization parameters Go to next article: 6.6.8.0.4: Assembly properties for security constraints

 

 
Go to previous article: 6.6.8.0.2: Assembly properties for initialization parameters Go to next article: 6.6.8.0.4: Assembly properties for security constraints