Home / Java


Luca Passani

WURFL Java API
Java API
-  Javadocs
Download & Installation
(includes WALL)

Examples
How to Submit bug reports

License

WALL
the Wireless Abstraction Library

WALL
Tutorial (PDF)
Reference (PDF)
NEW: Cool Menus

Demos:
-  Body
-  Menu
-  Coolmenu
-  Simple Forms
-  Forms in WML Compatibility Mode
JSTL integration
-  Portal

Useful Trick

Credits

Source Code
CVS at SourceForge

Other Java/WURFL efforts
Murray Brandon:
Modified WALL

Nicholas Albion:
More Modified WALL


Bill Ray:
MyWURFL


SourceForge.net Logo
 

WALL Document Body
by Luca Passani
passani at eunet dot no

Simple document: the document becomes XHTML MP, WML or CHTML depending on the capability of the browser (preferred_markup capability). Here is the JSP:

<%@ taglib uri="/WEB-INF/tld/wall.tld" prefix="wall" %><wall:document>
<wall:xmlpidtd />

<wall:head>
   <wall:title enforce_title="true">My Document</wall:title>
   <!--sent to all devices as it is -->
   <meta name="value" content="value" />
</wall:head>
<wall:body>
 <wall:block>
UA :
<wall:marquee>
  <%= request.getHeader("User-Agent") %>
</wall:marquee>
   <wall:br />
  Body part 2
 </wall:block>
</wall:body>
</wall:document>

If you want to see this example live, point your browser or your favorite device to
http://212.174.70.231:8080/wurfl/wall/body.jsp (Hosting is courtesy of Tom Thurston, Turn On Technology http://www.turnontechnology.com)

Look at it live here!
Emulation provided courtesy of Yospace
http://www.yospace.com/spede

Choose Device:
Nokia 7110, WML
Siemens C35, WML
Motorola V500, XHTML MP
Sharp GX10, XHTML MP
Samsung z105, XHTML MP

Copyright © 2008, Luca Passani