|
Its possible, but not trivial. It will inevitably
result in the use of some kind of MVC setup. I would guess the quickest way to
go would be to abstract the business login into taglibs (e.g. most of the Java
code in the jsp pages). Then code 2 different jsp files - one for WML, and one
for HTML, both using the same taglib, just displaying the information in a
different way. You could then get a servlet to handle the request and direct the
user to the correct .jsp file.
The O'Reilly Java Server Pages book has a good
chapter on taglibs & MVC stuff. It also touches on the use of JSP and XML
specifically for WML, although I preferer the use of taglibs to their proposed
method.
sam
|
- Configuring Cold Fusion to run with Tomcat 3.2.1 Jake Chin
- RE: Configuring Cold Fusion to run with Tomcat 3.2.1 Jann VanOver
- RE: Configuring Cold Fusion to run with Tomcat 3.2.1 Tim O'Neil
- WML and JSP Paul Yoon
- Re: WML and JSP Sam Newman
- Re: WML and JSP Jim Cheesman
- RE: Configuring Cold Fusion to run with Tomcat 3.2.1 Jann VanOver
- Re: Configuring Cold Fusion to run with Tomcat 3.2.1 Jake Chin
- Re: Configuring Cold Fusion to run with Tomcat 3.2.1 Jake Chin
- RE: Configuring Cold Fusion to run with Tomcat 3.2.1 Jann VanOver
- RE: Configuring Cold Fusion to run with Tomcat 3.2.1 Jann VanOver
