aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Adding WAP support" Watch "Adding WAP support" New topic
Author

Adding WAP support

Mike Landis
Greenhorn

Joined: Jun 05, 2003
Posts: 21
Hello,
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.
br
Mike
-
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Adding WAP support