Perhaps not suitable, but there is an easy way to do this, that also works 
transparently over https as well.
in Jqt, the webview control can be set with a url, and it will retrieve the 
contents and the text holds the html, that can be retrieved with get on the 
control.
      From: yves.tanguy <[email protected]>
 To: [email protected] 
 Sent: Friday, July 31, 2015 11:43 AM
 Subject: Re: [Jprogramming] web service : page not complete
   
  Hello Raul,
  Thanks for your clearly explanation.

> Exactly how you deal with that depends on what you are trying to 
> accomplish.

  my ambitious project is to find the complete html page in my text
  variable (unicode).

> In this case it looks like you are building an http client, so it's
> fairly simple.

  i want to believe ;)


> If I recall correctly, you should be able to keep
> reading the socket until it gives you an empty result. (If you had
> nonblocking io enabled it would be a bit more involved, but it doesn't
> look like you enabled nonblocking.)
> Yes, theorically, i agree.
  But, after each request, connection is closed (but i am not sure, it
  is depend on protocol version)
  And i have not find how to GET with the first position to do something 
like
  request 1 : from 0 to 999
  request 2 : from 1000 to 1999
  ...

> until socket gives you an empty result
i swim (fight ?) with documentation LJ.odt, and i have a long way to
understand how can i do by myself.

Regards,
Yves
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


  
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to