[Gambas-user] Issues using embedded HTTP server with gb.web WebPage
Benoit Minisini
benoit.minisini at gambas-basic.org
Tue Jun 7 14:45:50 CEST 2022
Le 07/06/2022 à 03:21, T Lee Davidson a écrit :
> On 6/6/22 17:00, Benoit Minisini wrote:
>> Le 05/06/2022 à 19:41, T Lee Davidson a écrit :
>>> I am using the Example (with Main.webpage and Page.webpage) at
>>> http://gambaswiki.org/wiki/doc/webpage
>>
>> This is not a working example, it's just to show what the syntax is.
>
> Hmm. It actually does work ... when the server does :-)
>
>
>>> Issue #1: The server is unreliable, behaving inconsistently when
>>> sending the page to the browser.
>>>
>>> Sometimes the page loads in the browser; sometimes not. When it does
>>> not, the browser says, "Waiting for localhost" virtually
>>> indefinitely. Clicking the Stop button in either the browser or the
>>> IDE will result in the page being rendered in the browser (albeit
>>> with a "not fully loaded" error in the Firefox console). I've tried
>>> three different browsers, and they all experience this issue.
>>
>> Please post a full project.
>
> The attached project is simply that very example with an added style.css
> file.
>
The 'style.css' must be in the 'Public' directory. Files located in that
directory are shared through HTTP. Other project files aren't.
Regards,
--
Benoît Minisini.
More information about the User
mailing list