I want to configure TomCat 4.1.30 to allow Remote Deployment of my mobile
app. This article
http://developers.sun.com/techtopics/mobility/midp/articles/deploy/ tells
one how to do it for system wide settings. I want to configure it on a per
application basis. How do I do this? Is it possible? What
I am writing a JSF application that needs to be able to view archived
documents. When a request hits my bean I do the work to extract the desired
document, but I need to return the correct MIME-TYPE in the response. I
know what type (PDF, TEXT) of document it is when I access it, but I don't
Hi,
There's no standard (and therefore portable) way. But there are a few
possible approaches.
You could include a listing of mime types with your app, and parse that,
maintaining portability.
Or you could parse Tomcat's conf/web.xml yourself using normal XML
parsing (use System.getProperty
I am running TomCat 5.0.19 on AIX 5.2 using IBM's J2RE 1.4.1
I have the TLS SSL encryption working and everything works great in
Mozilla. However in IE I am unable to access PDF's. HTML, forms and
images load/submit fine. IE uses the acrobat plugin when I access PDF's
via the insecure port.
to configure this in TomCat I'd appreciate it.
Thanks,
JPT
-Original Message-
From: John Thaemlitz
Sent: Friday, April 16, 2004 12:37 PM
To: [EMAIL PROTECTED]
Subject: TLS encryption and application/pdf mime types
I am running TomCat 5.0.19 on AIX 5.2 using IBM's J2RE 1.4.1
I have
Hi,
Does anyone know the mime type for WAR files. I foud somewhere on the web
that JAR files have a mime type of application/java-archive but cant find
any info on WAR files.
Thanks.
Matt
_
It's fast, it's easy and it's free.
HI matthew
(Bdid u try with application/x-compress for war file type
(Bsat
(B- Original Message -
(BFrom: "Matthew Oatham" [EMAIL PROTECTED]
(BTo: [EMAIL PROTECTED]
(BSent: Wednesday, September 24, 2003 5:19 PM
(BSubject: MIME Types
(B
(B
(B Hi,
(B
(B Does a
On Wed, Sep 24, 2003 at 09:19:34AM +0100, Matthew Oatham wrote:
:
: Does anyone know the mime type for WAR files. I foud somewhere on the web
: that JAR files have a mime type of application/java-archive but cant find
: any info on WAR files.
AFAIK, there is no official MIME type for .war
the request mime-extensions to mime-types according to
mime-mapping elements in the Axis web.xml file.
The only call I can find in any docs that does this mapping is the
Context.findMimeMapping(String extension) call.
But its not clear to me how the service end can get a reference to the
appropriate
I saw the post appended to this message on the archive list, but not
replies to it. I would like to pose the same question. Namely, how
does one specify MIME-types in Tomcat 3.3.1-4 standalone? I cannot find
a web.xml file anywhere on my web server.
Thanks,
Brian
Brian
specify MIME-types in Tomcat 3.3.1-4 standalone? I cannot find
a web.xml file anywhere on my web server.
Thanks,
Brian
Brian Dixon
Regenstrief Institute, Inc.
Indiana University Medical Center
1050 Wishard Blvd.
Indianapolis, IN 46202
(317) 630-8
Hi,
I want tomcat to serve Exel(.xsl) and Snapshot (snp) files. I added the following
mime-mapping to the global web.xml in .../conf/web.xml.
But no Application is starting automaticaly at the client site. It seams that the
mime-type is text/plain.
If the same files where served from an
filename
extension, so for example, I've know way of knowing that if script.jsp
sends me an Adobe Acrobat document (with the appropriate MIME type) that I
should save it as PDF.
At present, I have two options:
* hard-code the mappings between MIME types and filename extensions
* create a mapping
Am Donnerstag, 23. Mai 2002 19:26 schrieben Sie:
your browser needs to be mime-typed AND your tomcat application needs to be
mime-typed
you can set tomcat's mime-types in your web.xml file. search google for
tomcat web.xml mime types
As far as your browser -- many browsers
Hi!
I'm using tomcat 3.3.1!
I have 2 pictures:
pic1.gif
pic1.png
When I use these pics in html (e.g.: img src=pic1.png) both pics are
displayed correctly!
BUT when I access the pics' URL directly, I see the gif correct, but instead
of the png-image, I see the png's raw data displayed in my
your browser needs to be mime-typed AND your tomcat application needs to be
mime-typed
you can set tomcat's mime-types in your web.xml file. search google for
tomcat web.xml mime types
As far as your browser -- many browsers are not preconfigured to view png
images alone -- this happens to me
]]
Sent: Wednesday, April 24, 2002 6:33 PM
To: [EMAIL PROTECTED]
Subject: MIME types in 3.3
Since the default web.xml has been done away with,
what is the best way to set up thirty or forty
default mime type mappings for all webapps, without
repeating this information in every webapps
De: Keith Wannamaker [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 25 de abril de 2002 0:33
Hola Keith:
You could use the include mechnism from xml itself, something like that
is described in this thread
http://marc.theaimsgroup.com/?t=9805472724r=1w=2 this works for
me ( at least in 3.3
Since the default web.xml has been done away with,
what is the best way to set up thirty or forty
default mime type mappings for all webapps, without
repeating this information in every webapps' web.xml?
Keith
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
a web application gets are minimal and includes no mime mappings.
You will need to add any mime mappings you need to your web
application's WEB-INF/web.xml file. For portability, this is the
correct location to specify this.
And how can I put this mime types in the file? I tried but I don't know
.
Cheers,
Larry
-Original Message-
From: Héctor Garcia Peris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 4:08 AM
To: Tomcat Users List
Subject: RE: Problem with mime types, nobody answers?
At 18:57 26/03/02, you wrote:
You question isn't clear to me. Tomcat 3.2.x still
Hello all,
I have tomcat 3.2.2 running in a debian potato 2.2.l9. I have a problem
with mime types. When I get a page with extension .css I see that the mime
type that the server returns to me is text/plain. I find a file under the
conf directory that is web.xml that there are lines
To: [EMAIL PROTECTED]
Subject: Problem with mime types, nobody answers?
Hello all,
I have tomcat 3.2.2 running in a debian potato 2.2.l9. I have
a problem
with mime types. When I get a page with extension .css I see
that the mime
type that the server returns to me is text/plain. I
At 18:32 26/03/02, you wrote:
The conf/web.xml file is no longer read by Tomcat 3.2.x. You
will need to add these entries to the WEB-INF/web.xml in each web
application that needs them.
But, there would be a default file with the mime types
-Original Message-
From: Héctor Garcia Peris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 12:44 PM
To: Tomcat Users List
Subject: RE: Problem with mime types, nobody answers?
At 18:32 26/03/02, you wrote:
The conf/web.xml file is no longer read by Tomcat 3.2.x
, March 26, 2002 1:05 PM
To: Tomcat Users List
Subject: AW: Problem with mime types, nobody answers?
Is this also true for Tomcat 4.x ?
Reto
-Ursprüngliche Nachricht-
Von: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März 2002 18:33
An: 'Tomcat Users List
Hello:
I am looking for a java utility to find the mime type of the request body(not thru
header).
Thanks in advace.
Rama Kurapati
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Hello all,
I have tomcat 3.2.2 running in a debian potato 2.2.l9. I have a problem
with mime types. When I get a page with extension .css I see that the mime
type that the server returns to me is text/plain. I find a file under the
conf directory that is web.xml that there are lines
Hello all,
I have tomcat 3.2.2 running in a debian potato 2.2.l9. I have a problem
with mime types. When I get a page with extension .css I see that the mime
type that the server returns to me is text/plain. I find a file under the
conf directory that is web.xml that there are lines
Hello,
I have a web-app (in Tomcat 4.0.1), that is working fine in all
respects, except that all mime types (except .html) map to the tomcat
document root, not the web-app document root.
So I have modified my web.xml file to include mime type mapppings
... but .gif, .css etc. still
Hi folks,
How do I set MIME types in Tomcat 3.3? Neither the CSS validator nor
new builds of Mozilla will parse a stylesheet unless the server sends
the right MIME type, and Tomcat sends it as text/plain rather
text/css. I seem to remember that with earlier versions of Tomcat
you could set
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 7:25 AM
To: [EMAIL PROTECTED]
Subject: Setting MIME types in Tomcat 3.3
Hi folks,
How do I set MIME types in Tomcat 3.3? Neither the CSS validator nor
new builds of Mozilla will parse a stylesheet unless the server sends
the right
The config files all set mime-types by filename extension. Is there
a way to tell tomcat that all files in a certain directory should
be given a certain mime type? (The reason is that I have a bunch
of files with no extension, but I do need to tell a browser the
mime type)
m.
Hi there
I'm developing a JSP page that shall be able to show wbmp files. But
whatever i try to dog, i wont get anything else but the "alt" text. I need
to add a mimetype to the server or to the JSP file.
The mime type has the following indication : image/vnd.wap.wbmp
I hope that you can help
34 matches
Mail list logo