File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

URL problem with Hash symbol

 
Esther Kak
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a JSP page which has a ahref="http://www.abcXXXX.com/privacy.jsp#aaa"

Problem: When I click on the ahref, everything from # is stripped off in the URL
  • Try 1: Encoded # with %23 - did not work
  • Try 2: Used Java URL encoder class to encode


  • Try 1 & 2 are not working. Is there are way around to make this work.
     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 64171
    83
    IntelliJ IDE Java jQuery Mac Mac OS X
    • 0
    • Mark post as helpful
    • send pies
    • Report post to moderator
    Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
     
    Consider Paul's rocket mass heater.
      Bookmark Topic Watch Topic
    • New Topic