tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yassine <yassine.elas...@gmail.com>
Subject Re: html entities and urls with spaces
Date Thu, 11 Sep 2008 01:21:09 GMT
Hi

does "fails to display." mean 404 or do you get a file to download and
fail to render it on the client side(browser)?

for the 404 make sure the files are located there where tomcat/your
app looks for them
for the second case check the http header sent with the pdf file.

Cheers
Yassine

On Wed, Sep 10, 2008 at 11:41 PM, Brendan Martens
<brendan.martens@crosscomm.net> wrote:
> Hello,
>
> I am having some issues with tomcat not displaying pages or files with
> spaces in them, it simply 404s. Something like this:
>
> pdf file on filesystem.pdf
>
> being accessed at:
>
> http://server/pdf%20file%20on%20filesystem.pdf
>
> fails to display.
>
> I am migrating this site from an older RHEL server where it works fine. I am
> migrating to a Debian server with up to date Debian packages of apache2,
> tomcat5, and java6.
>
> I am using tomcat5 because the webapp had some odd html entity issues with
> tomcat5.5 and tomcat6 that I was not able to resolve, moving to tomcat5
> fixed the issues with entities in the page content itself. I am not certain
> that the page content html entity issues and the urls with spaces issues are
> related, but it seems like they may be?
>
> To check that this was a tomcat (and not an apache issue, as I am JkMounting
> the site to tomcat ) issue I tested accessing items with spaces with apache
> and that worked fine.
>
> Any one have any thoughts on this?
>
> Brendan Martens
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message