In mozilla the download window says: text/vnd.wap.wml

The file itself begins with the following:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml";>
        <wml>

.....

</wml>


In web.xml I found the following:

  <mime-mapping> <!-- WML Source -->
    <extension>wml</extension>
    <mime-type>text/vnd.wap.wml</mime-type>
  </mime-mapping>


Didn't write the servlet myself though.

Nick


-----Original Message-----
From: Parsons Technical Services [mailto:[EMAIL PROTECTED] 
Sent: donderdag 17 maart 2005 15:59
To: Tomcat Users List
Subject: Re: Servlet pops up as download

What is your content type set to?

Doug


----- Original Message ----- 
From: "Nick Wolters" <[EMAIL PROTECTED]>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, March 17, 2005 9:51 AM
Subject: Servlet pops up as download


> Hello,
>
> Having some issues with an ensim tomcat 4 installation.
> Whenever I surf to www.mysite.com/servlet/MyServlet my browser pops up a
> download dialog instead of showing the page.
> It downloads MyServlet which does contain all the code it should normally
> display in the browser.
>
> I don't have much experience yet with tomcat, planning to read-up on it 
> next
> month, but could someone help me with this for now?
> What things should I check ?
>
> Kind regards,
> Nick
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to