most file systems cant read spaces in a filename so you should put in _ where you see spaces

Hmmm, not sure this is the issue, both filesystems can read and write files with spaces.



should be renamed to
$CATALINA_HOME/webapps/pdfApp/pdf_file_on_filesystem.pdf

I really need to figure out a way to not rename all the files... If I could I would not allow the spaces of course, but it's already done. : ( So now I need to figure out how to make this work on the new server as well.


Brendan Martens

On Sep 10, 2008, at 8:32 PM, Martin Gainty wrote:

Brendan

most file systems cant read spaces in a filename so you should put in _ where you see spaces
e.g.
http://localhost:8080/pdfApp/pdf%20file%20on%20filesystem.pdf
should be renamed to
$CATALINA_HOME/webapps/pdfApp/pdf_file_on_filesystem.pdf

HTH
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.


> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: html entities and urls with spaces
> Date: Wed, 10 Sep 2008 17:41:56 -0400
>
> 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]
>

Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now

Reply via email to