does "fails to display." mean 404 or do you get a file to download and
fail to render it on the client side(browser)?
Means it 404s.
for the 404 make sure the files are located there where tomcat/your
app looks for them
They are indeed where it's looking for them. When I change the name of
the file from "file with spaces.html" to "file%20with%20spaces.html"
the browser is able to find it just fine.
Brendan Martens
Server Administrator
CrossComm, Inc.
919.667.9432 ofc
919.688.7686 fax
www.crosscomm.net
On Sep 10, 2008, at 9:21 PM, Yassine wrote:
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
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]