Meaningless Drivel is fun!
The moose likes Tomcat and the fly likes Concatenation character in Tomcat4.1.31 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Concatenation character in Tomcat4.1.31" Watch "Concatenation character in Tomcat4.1.31" New topic

Concatenation character in Tomcat4.1.31

Rajendar Goud
Ranch Hand

Joined: Mar 06, 2002
Posts: 220
i was working on tomcat3.22 and i had some java script functions, which had '+' for concatenating the file names.
eg :

its working fine with tomcat3.22 . but when i migrated it to 4.1.31,the concatenation character + doesnt seem to be working and i am getting PAGE
NOT FOUND character.

any help pls?

Rajendar Goud
Ranch Hand

Joined: Mar 06, 2002
Posts: 220
Any suggesstions?
Scott Dunbar
Ranch Hand

Joined: Sep 23, 2004
Posts: 245
Replace the '+' with a %20. I don't think that any of the modern Tomcat's do a URLDecode on the string.

But why do you need it in the first place? Doesn't Tomcat handle the spaces in the file name fine even on Unix?

<a href="" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
I agree. Here's the link:
subject: Concatenation character in Tomcat4.1.31
It's not a secret anymore!