![]() |
|
|
|||||||
![]() |
Java - tomcat 4.x : setting mime type for a directory or setting a default mime type |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
I want all of the text files in a directory (various unknown
extensions that are not .txt) to be set to text/plain. Using <extension>*</extension> does not work. Right now users see these text files unformatted, the carriage returns aren't processed. Strange thing is that when IE users hit refresh/reload the carriage return is processed and the text file is displayed properly. Mozilla Firefox shows the files correctly no matter what. Any ideas? And no, I can't require all of the users to use Firefox CJ CJ |
|
|
|
|
#2 |
|
Posts: n/a
|
On 29 Oct 2004 12:35:15 -0700, CJ wrote:
Sub: tomcat 4.x : setting mime type for a directory or setting a default mime type Please restate the subject in the body of your post, as a lot of people ignore the subject, and this post makes a lot less sense without it. > I want all of the text files in a directory (various unknown > extensions that are not .txt) to be set to text/plain. Using > <extension>*</extension> does not work. Right now users see these text > files unformatted, the carriage returns aren't processed. Strange > thing is that when IE users hit refresh/reload the carriage return is > processed and the text file is displayed properly. Mozilla Firefox > shows the files correctly no matter what. Any ideas? And no, I can't > require all of the users to use Firefox And is this actually a Java question? It sounds like it is more related to Tomcat configuration or site-design. -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane Andrew Thompson |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Eclipse - Axis2 - Java Webservices Error | amanjsingh | Software | 1 | 10-09-2007 09:03 AM |
| Need help on Modelsim VHDL syntax? ASAP:) | kaji | General Help Related Topics | 0 | 03-14-2007 10:43 PM |
| Need help on a Modelsim VHDL Syntax? ASAP:) | kaji | Software | 0 | 03-14-2007 10:43 PM |
| Need Help on a Modelsim VHDL Syntax....ASAP:) | kaji | Hardware | 0 | 03-14-2007 10:41 PM |