wood burning stoves
The moose likes Servlets and the fly likes Adding WAP support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Adding WAP support" Watch "Adding WAP support" New topic

Adding WAP support

Mike Landis

Joined: Jun 05, 2003
Posts: 21
Has anyone any experience what could be the nicest way to add WAP support to exixting Web application build with servlets and jsps? Web application uses MVC model 2 type pattern. Application should only support html and wml generation so, XML/XSLT type solution is not neccessary. Content genaration can be in they own
jsp specific files.I would like to add WAP support so that existing code would be as untouched as possible.
This kind of questions comes to my mind:
- should wml and html pages be handled in different controller servlets?
- Is it realiable to trust http header's information which tells that client is wap or browser, or is it better to assign e.g. different urls or ports to both client type?
- what are the advantages and disadvantages if I would make two separate war files to both wap and html generation?
Any suggetions and links to documents considering this kind of issue is appreciated.
I agree. Here's the link: http://aspose.com/file-tools
subject: Adding WAP support
jQuery in Action, 3rd edition