#365 closed Adopter Support (Fixed)
mime-mapping for .sas7bdat type file
Reported by: | Lois Haggard | Owned by: | |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Component: | View-App | Version: | 2.3 |
Severity: | Unknown | Keywords: | |
Cc: |
Description
My users used to be able to download a SAS file by clicking on the link. But in recent versions (of Tomcat? Browser? or whatever), the link no longer works to download the file. It just produces a page of cryptic junk characters.
We need to add a mime-mapping for .sas7bdat files so that the server will recognize that type of file and know what to do with it.
I found a couple of online references to this sort of thing (VERY brief search) http://tomcat.10.x6.nabble.com/quot-mime-mapping-quot-and-Content-Type-td5060559.html https://examples.javacodegeeks.com/enterprise-java/tomcat/tomcat-web-xml-configuration-example/
Change History (4)
comment:1 Changed 5 years ago by
comment:2 Changed 5 years ago by
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Version: | Unknown → 2.3 |
Added a mime-mapping for sas7bdat in web.xml file.
The line looks like this:
<mime-mapping><extension>sas7bdat</extension> <mime-type>application/octet-stream</mime-type></mime-mapping>
Garth will add this to core
comment:3 Changed 5 years ago by
Milestone: | → 2.3 - Testing |
---|
Paul is has a handle on this and is working on it.