Sub Process_Globals
'These global variables will be declared once when the application starts.
'Public variables can be accessed from all modules.
Public App As Application
Public NavControl As NavigationController
Private Page1 As Page
Private xui As XUI
Private Svr As Server
End Sub
Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.RootPanel.LoadLayout("Page1")
NavControl.ShowPage(Page1)
Svr.Initialize(Me,"Svr")
Svr.Start(51051)
End Sub
Private Sub Svr_Handle(req As ServletRequest, resp As ServletResponse)
resp.SetHeader("Content-Type","text/html")
resp.Write($"HtmlText=$"<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<h1>This is a static page</h1>
<a href='/'>Back</a>
</body>
</HTML>"$)
End Sub
For other platforms it already exists, it was missing only for B4iwill it be for all platforms?
aHttpServer
jHttpServer
forgive me, do you have the links at your fingertips? x b4a and b4j?For other platforms it already exists, it was missing only for B4i
Nothing wrong with your English - I just had look - because its this time of night and I must be feeling perverse - just like that sort of document - and I've done quite a bit of technical editing over the years - who ever writes those documents PHEW - hats off to you for interpreting them PHEW. ?Poor knowledge of English didn't help me
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?