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
-