• Post Reply Bookmark Topic Watch Topic
  • New Topic

string conversion  RSS feed

 
Alex Hank
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following string is a directory to a mp3. How do I convert this to normal text in jsp?

%2Fmedia%2Fmyfiles%2FWillie+Nelson%2FGreatest+Hits+%28%26+Some+That+Will+Be%29%2FIf+You%27ve+Got+the+Money+%28I%27ve+Got+the+Time%29.mp3

thanks

Alex
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like it is URL-encoded. Give java.net.URLDecoder.decode() a try.
 
Alex Hank
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!