eXept Software AG Logo

Smalltalk/X Webserver

Smalltalk Dynamic Web Pages - Source of WebDemoApp1-test2:

Home

Documentation
www.exept.de
Everywhere
for:
test2:aRequest
    "another simple reply, with an URL refering to another method inside myself

     Invoke via the browser as URL:
        host:port/<N>,test2:
     where <N> is the registered name of this service.
    "

    |replyPresenter|

    replyPresenter := aRequest replyPresenter.
    replyPresenter title:'Hello world Example with References'.
    replyPresenter parametersAt:#secondHeadLine put:'Test2: Hello world Example with References'.
    aRequest
        nextPutLine:'<h1>Hello World</h1>

This is test2.

'.
    self addLinksForSource:#'test2:' previous:#'test1:' next:#'test3:' to:aRequest.

Edit
Index


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 00:35:49 GMT