InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.1: Developing servlets >
4.2.1.3: Servlet content, examples, and samples >
4.2.1.3.9: PageListServlet support >
4.2.1.3.9.6: Example of a client type configuration file

4.2.1.3.9.6: Example of a client type configuration file

    <?xml version="1.0"?>
    
    <!DOCTYPE clients [
    <!ELEMENT client-type (description,markup-language,request-header+)>
    <!ELEMENT description (#PCDATA)>
    <!ELEMENT markup-language (#PCDATA)>
    <!ELEMENT request-header (name,value)>
    <!ELEMENT clients (client-type+)>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT value (#PCDATA)>]>
    
    <clients>
    <client-type>
    <description>IBM Speech Client</description>
    <markup-language>VXML</markup-language>
    <request-header>
    <name>user-agent</name>
    <value>IBM VoiceXML pre-release version 000303</value>
    </request-header>
    <request-header>
    <name>accept</name>
    <value>text/vxml</value>
    </request-header>
    </client-type>
    <client-type>
    <description>WML Browser</description>
    <markup-language>WML</markup-language>
    <request-header>
    <name>accept</name>
    <value>text/x-wap.wml</value>
    </request-header>
    <request-header>
    <name>accept</name>
    <value>text/vnd.wap.wml</value>
    </request-header>
    </client-type>
    </clients>
    
    
    

Go to previous article: PageListServlet client type configuration file Go to next article: Developing JSP files

 

 
Go to previous article: PageListServlet client type configuration file Go to next article: Developing JSP files