0

Hai Friends.

I want to download jar file from IIS serve(.Net) from to mobile device. in apache tomcat server i used mime as AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
in wordpad, with jar and jad. its working fine. i doknow how to use this mime in IIS, please help me for this problem.

2
Contributors
3
Replies
9
Views
8 Years
Discussion Span
Last Post by __avd
0

You can use MIME type with any webserver.

How to use the mime type? please tell me the procedure for mime type in IIS(.NET) server. i used mime type for appache tomcat as

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar.

0

How to use the mime type? please tell me the procedure for mime type in IIS(.NET) server. i used mime type for appache tomcat as

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar.

In ASP.NET web page (aspx):

Response.AddHeader("Content-Type","application/java-archive jar");
 Response.AddHeader("Content-Length","100");
 Response.AddHeader("Content-Disposition","attachment; filename=a1.jar");
..
..
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.