I wrote a program to download a .jar file to mobile using .net code,the following code snippet i used
Response.AddHeader("Content-Type", "application/java-archive jar");
Response.AddHeader("content-disposition", "attachment; filename="+exefilename);
Response.WriteFile(Server.MapPath("~\\"+EXEPath));
Response.End();
but problem is ,while downloading it is saving as .spx file..but download .jar file happening in windows mobiles...
please give me solution .