tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: mixed html and jsp site using ProxyPass
Date Wed, 03 Dec 2008 12:51:23 GMT
Chris Wareham wrote:
> David Goodenough wrote:
>> The reason was that Tomcat did not serve the Flash correctly, never did
>> manage to get to the bottom of why but the browser did not complain - it
>> just left big blank spaces.  With this setup at least that bit works.
>> David
> My gut response is that the MIME type is wrong, so the browser doesn't
> know that the file is a Flash movie. How were you serving the Flash
> files when you tried it from Tomcat? You will probably need a servlet
> which sets the MIME type correctly, (trying to do it from a JSP will
> work, but will also fill your logs with warnings as a JSP is not
> supposed to serve binary files).
How about just adding the appropriate <mime-mapping> section to 
(tomcat_dir)/conf/web.xml ?

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message