RequestBuilder will only work if the request is on the same domain. otherwise use a servlet to feth the HTML and send it back to the client.
On 4 March 2016 at 16:19, Alberto Mancini <[email protected]> wrote: > > Hi, > you can use RequestBuilder > > > http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideHttpRequests > > > A. > > > On Fri, Mar 4, 2016 at 3:30 PM Davide Micheletti <[email protected]> > wrote: > >> i need to get it in GWT so i can comunicate with other GWT app. >> >> 2016-03-04 15:29 GMT+01:00 Davide Micheletti <[email protected]>: >> >>> i need to get the HTML of the page where there is the link for the >>> download. And i need to get it in GWT. >>> >>> i need the equivalent of PHP code >>> $html = file_get_contents('www.example.com'); >>> >>> >>> 2016-03-04 15:18 GMT+01:00 Alain Ekambi <[email protected]>: >>> >>>> Ok but I m having a hard time understanding the relation with your >>>> original question or with GWT at all. >>>> On 4 Mar 2016 15:13, "Davide Micheletti" <[email protected]> >>>> wrote: >>>> >>>>> not exactly, i mean download the files when i need it. >>>>> i run the app and it downloads the files. >>>>> There are many directory with many files, i need to download the last >>>>> files created/modified. >>>>> >>>>> 2016-03-04 15:05 GMT+01:00 Alain Ekambi <[email protected]>: >>>>> >>>>>> You mean download the file everytime is created on the server ? >>>>>> >>>>>> On 4 March 2016 at 14:05, Davide Micheletti <[email protected] >>>>>> > wrote: >>>>>> >>>>>>> I've an ever open VPN and a webserver generates some CSV files. >>>>>>> What i need to do is download the file automaticaly. >>>>>>> >>>>>>> 2016-03-04 13:57 GMT+01:00 Alain Ekambi <[email protected]>: >>>>>>> >>>>>>>> Can you elaborate on what you are trying to do ? >>>>>>>> >>>>>>>> One way could be to do it through ajax. senf the url of the page >>>>>>>> to the server have a servlet read the page send the result back to your >>>>>>>> client. >>>>>>>> >>>>>>>> >>>>>>>> On 4 March 2016 at 13:28, Davide Micheletti < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi all, >>>>>>>>> i'm using GWT 2.6 and i need to get the HTML code of a web page. >>>>>>>>> How can i do this? >>>>>>>>> >>>>>>>>> Thanks in advance. >>>>>>>>> >>>>>>>>> Best regards >>>>>>>>> >>>>>>>>> >>>>>>>>> Davide >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "GWT Users" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>> send an email to [email protected]. >>>>>>>>> To post to this group, send email to >>>>>>>>> [email protected]. >>>>>>>>> Visit this group at >>>>>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Alain Ekambi >>>>>>>> >>>>>>>> Co-Founder >>>>>>>> >>>>>>>> Ahomé Innovation Technologies >>>>>>>> >>>>>>>> http://www.ahome-it.com/ <http://ahome-it.com/> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "GWT Users" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> To post to this group, send email to >>>>>>>> [email protected]. >>>>>>>> Visit this group at >>>>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "GWT Users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To post to this group, send email to >>>>>>> [email protected]. >>>>>>> Visit this group at >>>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Alain Ekambi >>>>>> >>>>>> Co-Founder >>>>>> >>>>>> Ahomé Innovation Technologies >>>>>> >>>>>> http://www.ahome-it.com/ <http://ahome-it.com/> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "GWT Users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To post to this group, send email to >>>>>> [email protected]. >>>>>> Visit this group at >>>>>> https://groups.google.com/group/google-web-toolkit. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "GWT Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To post to this group, send email to >>>>> [email protected]. >>>>> Visit this group at https://groups.google.com/group/google-web-toolkit >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "GWT Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to >>>> [email protected]. >>>> Visit this group at https://groups.google.com/group/google-web-toolkit. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- Alain Ekambi Co-Founder Ahomé Innovation Technologies http://www.ahome-it.com/ <http://ahome-it.com/> -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
