Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Concatenation character in Tomcat4.1.31

 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i was working on tomcat3.22 and i had some java script functions, which had '+' for concatenating the file names.
eg :
"/public/doku/U130+Welcome+Guide+v1-2.pdf"

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?


Thanks,
Rajendar
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggesstions?
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic