To explain the context, I need to make a mobile application to be available for the users to download into their mobile phones. For this, I created a war file which contains a JAD file, JAR file and a html file which contains link to the JAD file. Now I deployed this WAR file in weblogic application server. I am trying to click on the link available in html page which is located in the WAR and on clicking this link I should download the JAD file. But, it is not happening like that. Instead of downloading, the content of the file is shown in HTML page. Please assist how I can achieve this in WAR file such that I can download the JAD and Jar files using the html from WAR. for extra info, I also specified the mime-type mapping for JAD and JAR in web.xml which is located in WEB-INF then also it is not working. Early response will be great for me.