• Post Reply Bookmark Topic Watch Topic
  • New Topic

redirect url address  RSS feed

 
Tay Thotheolh
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I am thinking of modifying a good java download app that a friend of mine have made. It could only handle direct urls (www.xxx.com/abc.mp3) but when the url becomes something like (www.xxx.com/dl2.php&file=abc.mp3....) some sort of 'indirect' urls, it could work. What should I do to handle these 'indirect' urls ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on how the app handles URLs with parameters. The URLConnection class can handle parameters, so it probably uses something else.

Note that "www.xxx.com/dl2.php&file=abc.mp3" looks like a broken URL - there should be a question mark instead of an ampersand.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!