Solved

problem downloading from site on apache server

Posted on 2004-07-31
6
220 Views
Last Modified: 2010-03-04
i have a website and i put a java jad file
when i try to download this file from my mobile it is not downloaded instead i get the text the file contains dispayed on the screen

and when i try to download the java jar file i get this error
"one or more problems were found in this document.It cannot be displayed properly"

Thanks
0
Comment
Question by:omashhour
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11687571
which Content-Type is set by the server? Does your client know how to handle this Content-Type?
0
 
LVL 1

Author Comment

by:omashhour
ID: 11687655
what is meant by content type  can u tell me please because im still a beginner with the apache server
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 11689311
Content-Type is what the web server (apache) writes in the HTTP response header, it tells the client (your browser) how to handle following data
in your httpd.conf you need to have something like:
    AddType application/x-httpd-jad .jad

then your browser need sto know what to do with this
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 1

Author Comment

by:omashhour
ID: 11689512
ok can u give me the other line to add for jar please
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11692222
AddType application/x-httpd-jar .jar
0
 
LVL 1

Author Comment

by:omashhour
ID: 11693956
i did that before
but it didnt work thats why i was asking u for the content types
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question