aspose file tools*
The moose likes C / C++ and the fly likes Get the rediredted url. Which is opened by  Desktop.getDesktop().browse(java.net.URI.create(url)); Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "Get the rediredted url. Which is opened by  Desktop.getDesktop().browse(java.net.URI.create(url));" Watch "Get the rediredted url. Which is opened by  Desktop.getDesktop().browse(java.net.URI.create(url));" New topic
Author

Get the rediredted url. Which is opened by Desktop.getDesktop().browse(java.net.URI.create(url));

Mayur Saparia
Greenhorn

Joined: Feb 13, 2013
Posts: 19

Hello Everyone,
I am developing an application which sync's a file to cloud. I am done with the authentication part but, in that process theirs a overhead which I want to remove.
When the user is directed to the webpage they are asked to Click "Allow" button on webpage after that the webpage is redirected to http://localhost?code = 2341243 , i want this url into my java program. Please note am developing java desktop application.


Thanks In advance

Regards
Mayur.
 
wood burning stoves
 
subject: Get the rediredted url. Which is opened by Desktop.getDesktop().browse(java.net.URI.create(url));