• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HF EJB Code Examples JAR Has Wrong MIME Type

 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is causing a minor problem for standards compliant browsers like Mozilla and FireFox... With those, you have to right click and "Save Target As..."

The above headers are returned when the server is issued a HEAD coomand for the JAR file.
I used my own utility that I wrote 4+ years ago:
http://www.geocities.com/~tony-alicea/JGetHttpHeader.html
[ February 11, 2004: Message edited by: Tony Alicea ]
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "Content-type" should be:

This is usually defined in the file mime.types.
Or better still, just rename to ZIP instead of JAR!
[ February 12, 2004: Message edited by: Tony Alicea ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic