You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lahiff, Lorinda" <Lo...@affymetrix.com> on 2006/03/21 02:53:51 UTC

How to deal with spaces in Tomcat 5.5?

Hi,

I have a text file with spaces as part of the file name that needs to be
read by Apache Tomcat 5.5.  

 

If I enter both of the below URL's in Tomcat 4.1, the text file shows up
fine.  However, the new version of Tomcat (Tomcat 5.5) can only handle
URL1.  In URL2, Tomcat 5.5 is unable to translate the "+"into a space.
What configurations can I make in Tomcat so it can recognize the "+" as
a space?

 

URL1: http://jamba/testapp/definitions/20060201%20gmet%20service.txt

URL2: http://jamba/testapp/definitions/20060201+gmet+service.txt

 

Thanks,

Lorinda

 


Re: How to deal with spaces in Tomcat 5.5?

Posted by P Y <py...@gmail.com>.
This would not conform to RFC2396 (see 3.3 and 3.4) : '+' is not a
special character in path element.
(Seems TC4.1 was buggy on this... ?)


On 3/21/06, Lahiff, Lorinda <Lo...@affymetrix.com> wrote:
> Hi,
>
> I have a text file with spaces as part of the file name that needs to be
> read by Apache Tomcat 5.5.
>
>
>
> If I enter both of the below URL's in Tomcat 4.1, the text file shows up
> fine.  However, the new version of Tomcat (Tomcat 5.5) can only handle
> URL1.  In URL2, Tomcat 5.5 is unable to translate the "+"into a space.
> What configurations can I make in Tomcat so it can recognize the "+" as
> a space?
>
>
>
> URL1: http://jamba/testapp/definitions/20060201%20gmet%20service.txt
>
> URL2: http://jamba/testapp/definitions/20060201+gmet+service.txt
>
>
>
> Thanks,
>
> Lorinda
>
>
>
>
>

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