Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Link problem.  RSS feed

  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The # character has meaning in a URL, it denoted a named anchor. E.g.:

So the query string runs from the ? to the # and not beyond. If your pid can include # character you will need to URLEncode it. Have a look at the java.net package you should see a way of doing this.
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
I got solution for this.
URLEncoder.encode() method helps me.
 
meenal toke
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nice info...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!