just add :

request.setContentType("text/wap.wml.wmlc");

somewhere in your code.

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Anders J�felt
> Sent: lundi 27 septembre 1999 17:21
> To: [EMAIL PROTECTED]
> Subject: Content-type???
>
>
> Hi everybody!!
>
> We are trying our best to build a WAP-application. The problem that we've
> encountered is that the "server" provided with JSWDK-1.0 always returns
> "content-type:text/html". We want the server to return: "content-type:
> text/wap.wml.wmlc".
>
> As far as we're conserned there's two possible work-arounds:
> 1. To somehow make a change in the JSWDK-server configuration. This should
> be the easiest and best solution, unfortunaltey we just don't
> have a clue of
> how this should be done.
> 2. To insall another "ordinary" webserver. The problem in this
> case would be
> that we don't know how to make the jsp-engine (or Java Servlet) run on it.
>
>
> Another issue: Is there anyone else who have done any similair kind of
> projects??(Running a JSP engine for serving a
> WAP/WML-application). We would
> appreciate all the help we can get!!!
>
> Our development-platform is WinNT.
>
> Thanks alot in advance,
> //Anders J�felt and Gustav Engdahl.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to