WAPHead servlet 1.4

    It is a Java servlet for mobile web developers. You can check out all the headers from your mobile requests. Just request this servlet from your mobile phone browser and see the available headers (it is how your web server will see your phone).

How to use it:

a) copy WAPHeadPackage.jar into your WEB-INF/lib directory.

b) define servlet in your web.xml file:
 

    <servlet>
     <servlet-name>WAPHead</servlet-name>
     <servlet-class>com.jsos.waphead.WAPHead</servlet-class>
    </servlet>

c) define a mapping for WAPHead servlet
 

    <servlet-mapping>
     <servlet-name>WAPHead</servlet-name>
     <url-pattern>/servlet/WAPHead</url-pattern>
    </servlet-mapping>

The usage is (from your mobile phone):

    http://your_host/servlet/WAPHead

And you will get a list of the headers from this request. So you can see for example what is actually available from your WAP gateway.

    For downloading:  WAPHeadPackage.jar   
 

  © Coldbeans     Comments?

See also JSOS - the largest collection of servlets and filters.

Also in JSOS: