3 Replies Latest reply on Jun 21, 2011 9:00 PM by duan xz

    problem :download files be opened by IE

    duan xz Newbie


      I have installed jboss-5.1.0.GA on solaris
      i am facing a weird problem with my msi files when opened thru Jboss in IE.

      I have a JSP deployed on JBOSS which has links to a msi file and a xls file.

      The xls file opens up normally when the link is clicked on, but when the msi link is clicked it displays some ANSI characters in IE instead of opening the xls file correctly.

      In my application WEB-INF/web.xml has increased over the string shown below:
      The code of my jsp is as follows:
      <%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
      <h2>Testing File Links</h2>
      <a href="ax_install_x32.msi" target="blank">ax_install_x32.msi</a>
      <a href="1.xls" target="blank">1.xls</a>

      in jboss-5.1.0.GA there hasn't "server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml",how can i do ??
      Any help with this will be greatly appreciated.