This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
subject: Adding WAP support
Similar Threads
Best Container
Mobile Internet : J2ME ? WAP ? Persoanl Java Application ?
Reply to Govind K: XML
JSP/WML and session tracking
Does J2ME replace WAP/WML.?