|
Smalltalk/X WebserverSmalltalk Dynamic Web Pages - Source of WebDemoApp1-test2: |
|
|
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.
|
|
|
ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 09 Sep 2010 17:52:10 GMT
|