Hi,

You got to include your content-type into the 'mime.properties', which is there in
the 'Web-inf' directory, which lies whrer your jsp pages are.

Then, to specify your required Content_type in the JSP page, using the methods
provided by the engine classes.
-
-Ram

Anders Jöfelt wrote:

> 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