Hi
If use JRUN 3.0 u can do it in this way.

1. Login into JRUN Admin Server
2. In your left hand you can see JRUN default Server
   Select it
        Go to Web Applications-> Default User  Application -> MIME Type Mapping
3 Then click edit and open up pop up window

4. Enter following MIME types
         MIME Type Extension    MIME Type
       wml                    text/vnd.wap.wml
       wbmp                   image/vnd.wap.wbmp
       wmlc                   application/vnd.wap.wmlc
       wmls                   text/vnd.wap.wmlscript
       wmlsc                  application/vnd.wap.wmlscriptc

BR
Senaka

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Anders Lindell
Sent: Thursday, January 25, 2001 5:16 AM
To: [EMAIL PROTECTED]
Subject: JRun and wml


Hi.

How to configure JRun to run wml-files, I think I have to set the
content-type in some way when asking for a .wml

If I create a .jsp with

<%@ page contentType="text/vnd.wap.wml" %>

it works fine.

But when trying to access a .wml it complains - No Content-Type header found
for file ......


kr

anders

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to