• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Special characters changing to %something%

Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a search form whose method is post. i keep the the search criteria in session. From the search result screen when the user clicks previous button, i take the criteria s from the session and populate it in the fields.

But when i search using a criteria with special character and click on previous button, the special characters are changed to %something% (eg. space is change to +, # is changed to %24% , etc).

I use UFT-8 character set. my action class is using struts2.

Please help me in getting back my original criteria s.

Thanks in advance.
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Un-URL-encode it.
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic