Sunday 15 August 2010

swing - open and refresh a local web page in java -


I need a way to open a web page on the browser (like default), only one problem is that I

  The browser, which sends a URL to the file, ends with a parameter like: index.html? Json = something  

I have seen online yet: = new file ("index.html"); URI Yuri = F. TOUR (); Desk.browse (URI);

But in this way I can not open a webpage with a parameter and still I need to find a way to refresh the browser during program execution.

Help me

This should work

  URI Yuri = URI ("http://some-site.com/?json=something"); // or URI Yuri = new URL ("http://some-site.com/?json=something") .toURI (); Desk.browse (URI);    

No comments:

Post a Comment