This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Concatenation character in Tomcat4.1.31
Similar Threads
Quick4rt and crimson.jar
Migrating tomcat from 3.22 to Tomcat 4.1
Tomcat4.1 & Quick4rt.jar
Migration from Tomcat3.22 to Tomcat4.1
Who can help me improve performance of these methods? thanks!