I guess if we are asked to design something similar, we would say that, make the server return an xml which could be made to render in different formats using XSLT.
However people are exploring other similar approaches, which are more inline with our current way of developing websites for the PC.
Below are few links which talk about two such approaches, one uses Spring Mobile which has close integration with Spring MVC and other uses media queries:-
1.http://www.springsource.org/
2.http://www.webmonkey.com/
3.http://www.smashingmagazine.
-- This one helps you create style sheets which are adaptive based on the target device(during rendering, and adjusts accordingly for small screens and like...)