You could try the wml tags available at cold fusion (sorry, no 
link...)  They allow you to use the same jsp for both http and wml.

Jim

At 09:23 AM 4/19/2001, you wrote:
>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
>----- Original Message -----
>From: <mailto:[EMAIL PROTECTED]>Paul Yoon
>To: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>Sent: Wednesday, April 18, 2001 8:13 PM
>Subject: WML and JSP
>
>Hello,
>
>I am an user of Tomcat.
>I would like to make a few page for mobile user.
>Is it possible that HTTP users  and WAP users  can access same URL and get 
>their own services?
>If it is, how it can be possible? How tomcat server know the difference?
>Thank you in advance.
>
>Paul


--

                           *   Jim Cheesman   *
             Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
               Personal: [EMAIL PROTECTED] (34) 606 770 244
              Practice safe eating -- always use condiments.













Reply via email to