Object PmWeb (Web server)
The object creates a Web server from the PROMOTIC application, i.e. it enables the application to provide for example HTML or XML pages.
In the PmWeb
object it is possible to create the PmWebFolder
objects. The PmWeb
object can be created in the PmRoot
objects. Only one PmWeb
object should be in the whole application.
This object adopts properties and methods of object PmObject
Properties and methods:
|Port|| Number of the TCP/IP port|
|onNewRequest|| (obsolete) Fires on the request for each new Web page|
|Object|| General information about the object|
|Content|| Content of the object in the XML form|
|Events|| Definition of object events algorithms|
|Web|| Setting TCP/IP parameters of the PROMOTIC Web|
|Permissions|| Object permissions|
The object creates a Web server from the PROMOTIC application, i.e. it enables the application to provide for example HTML or XML pages. See Overview of the Web technology in the PROMOTIC system
and HTTPS - secured HTTP protocol
Except the objects inserted directly, also another objects (Web components) located elsewhere in the object tree can be registered into this object (e.g. PmPanel
objects, etc.). These extra objects are registered into the object using the Web Server
page in the PmWeb object
configurator. All these objects will become Web subcomponent of this object, i.e. URL address of these subcomponents will begin with the URL address of this object.
The runtime information regarding the status of the PROMOTIC Web server communication with its clients (the statistics of HTTP transmissions, the contents of the last transmissions, etc.) can be observed in the INFO system on the /COMM/WebServer