Hi Claude,

>But if I want construct dynamics pages send back to the client WAP, I can
>use servlets to generate WML type of page ..??

Yes u can use Servlets do send to WAP Devices

>res.setContentType("text/wml"); work ???
No use the following MIME types instead

For .WML files: "text/vnd.wap.wml"
For .WMLC files: "application/vnd.wap.wmlc"
For .WMLS files: "text/vnd.wap.wmlscript"
For .WMLSC files: "application/vnd.wap.wmlscriptc"
For .WBMP files: "image/vnd.wap.wbmp"


Hope this helps

Bye,
Jiger



>From: Claude HONNORE <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Servlet and Wap WML ...
>Date: Sat, 5 Aug 2000 13:28:14 +0200
>
>Bonjour
>
>I construct a site of WAP, with some statics pages WML, and it is OK ..
>I make many applications HTML with servlets ..
>
>
>res.setContentType("text/html"); for classic html
>
>Where I can find some examples about WAP applications and servlets ??
>
>Claude HONNORE
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to