>From my limited Linux use, I believe that 1) only works if you are running
behind Apache, and Apache is serving static content.  2) is probably safer
(and certainly required if either of the conditions on 1 are false).

"Sean Dockery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You should be able to do one (or both) of the following...
>
> 1. Edit /etc/mime.types and add the appropriate MIME type...  Re-hashing
> the mime.types file is usually required.  Can't remember how to do that
> off-hand, but I know that restarting the machine works.  :-)
>
> 2. In web.xml add the following...
>
> <webapp>
>    ...
>
>    <mime-mapping>
>      <extension>jnlp</extension>
>      <mime-type>application/x-java-jnlp-file</mime-type>
>    </mime-mapping>
>
>    ...
>
> </webapp>
>
> Good luck.
>
> At 12:07 2003-02-05 -0800, you wrote:
>
> >Hi,
> >
> >We are using Tomcat as a Web Server as well as a Servlet Engine and what
> >we need to do is to configure the MIME type for Web Server which in our
> >case is Tomcat. We want to configure Tomcat so that all files with the
> >.jnlp file extension are set to the application/x-java-jnlp-file MIME
> >type. Tomcat must return application/x-java-jnlp-file MIME type for JNLP
> >files in order for the Java Web Start software to be invoked.
> >How can i do this? I believe that i would have to modify some
> >configuration file for this.
> >thanks
> >abhijat
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> Sean Dockery
> [EMAIL PROTECTED]
> Certified Java Web Component Developer
> Certified Delphi Programmer
> SBD Consultants
> http://www.sbdconsultants.com




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

Reply via email to