Use response.setContentType() and print the result of HTTP access to
your content using java.net.URLConnection instead of sendRedirect().

On Wed, 2 Apr 2003 18:20:39 -0800
joe user <[EMAIL PROTECTED]> wrote:

> It sets the content type to "text/html".  That's fine
> for all regular <b>web</b> browsers, but
> unfortunately, some WML/WAP devices see that content
> type, and instead of ignoring it and completing the
> redirect, they bonk out saying "cannot display that
> content type."  I realize they shouldn't do that, but
> I have to get this thing working on some common phones
> that do act that way.  So, I need to make sure that
> for WAP devices, I send WML or perhaps text/plain.
> How can I do that?

Shinichi

___________________________________________________________________________
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