This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
Migrating tomcat from 3.22 to Tomcat 4.1
Quick4rt and crimson.jar
Migration from Tomcat3.22 to Tomcat4.1
Who can help me improve performance of these methods? thanks!
Tomcat4.1 & Quick4rt.jar