• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

single quote causing problem with early version IE

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
web application in JSP, name on page contains sigle quote, such as O'Brain does not work, when click on it, instead of going to another jsp page, it'll simply gives "Error on Page" at the bottom left conner and do nothing. All name has been encoded:
login.jsp?name=<%= java.net.URLEncoder.encode(name) %>
view source would see:
login.jsp?name=O%2527Brain%2B

It works on the current IE 5.5, also netscape, Opera, AOL...., only shows problem on lower version IE, such as 5.0. Does anybody know how to workaround this problem instead of asking all users to update IE?
 
Seriously? That's what you're going with? I prefer this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic