Jump to content

Hello world/Web server: Difference between revisions

m
Line 193:
=={{header|J}}==
 
If the desire is to use the browser as a gui, the easiest thing to do would be to [http://www.jsoftware.com/stable.htm download] [http://www.jsoftware.com/docs/help701/user/relhigh.htm j7], edit the jhs script to start on port 8080, start jhs, visit http://127.0.0.1:8080/jijx then enter the text:
 
<lang j>'Goodbye, World!'</lang>
Line 201:
However, if the desire is to implement the task exactly, any of approaches at [[j:JWebServer]] might be used.
 
For example, here is a web server which ignores the client's response and always returns Goodbye, WorlWorld:
 
<lang j>hello=: verb define
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.