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.

You can use MIME type with any webserver.

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.

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");
..
..