A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
URL problem with Hash symbol
Joined: Oct 11, 2006
Feb 05, 2008 10:01:00
I have a
page which has a ahref="http://www.abcXXXX.com/privacy.jsp#aaa"
When I click on the ahref, everything from # is stripped off in the URL
Encoded # with %23 - did not work
URL encoder class to encode
String testURL = "http://www.abcXXXX.com/privacy.jsp"+URLEncoder.encode("#aaa");
Try 1 & 2 are not working. Is there are way around to make this work.
Author and ninkuma
Joined: Jan 10, 2002
Feb 05, 2008 10:32:00
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please
for more information.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: URL problem with Hash symbol
Switch case with Display Tag
Connection Reset Error while deploying wsdl file on Server
Struts: No getter method for property name of bean :advise for beginners
Hash symbol # problem in URL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014