Smalltalk/X WebserverSmalltalk Dynamic Web Pages - Source of WebDemoApp1-test1: | |
test1:aRequest "a simple reply, with an URL refering to another method inside myself. Invoke via the browser as URL: host:port/<N>,test1: where <N> is the registered name of this service. " |replyPresenter| replyPresenter := aRequest replyPresenter. replyPresenter title:'Hello world Example'. replyPresenter parametersAt:#secondHeadLine put:'Test1: Hello world Example'. aRequest nextPutLine:'<h1>Hello World</h1>'.
Edit (disabled)
| |
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 10 Dec 2024 08:48:55 GMT |