mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Author:halw
Date:2008-10-06T18:21:47.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@70 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
[[Property:uuid|da8f72cb-0ecd-464a-a558-cbf7d24301e3]]
|
||||
This sample shows how to retrieve and display information from a basic form on a web page.
|
||||
|
||||
{{note|This sample requires a web server supporting CGI in order to be run. Both the Internet Information Services web server from Microsoft and the GNU Apache server may be used.
|
||||
|
||||
{{note|This sample requires a web server supporting CGI in order to be run. Both the Internet Information Services web server from Microsoft and the GNU Apache server may be used. }}
|
||||
|
||||
|
||||
==Compiling==
|
||||
|
||||
To compile the example:
|
||||
@@ -20,7 +23,7 @@ You should copy the file ''web_demo.exe'' in the ''cgi_bin'' directory of your w
|
||||
|
||||
==Running==
|
||||
|
||||
To run the example, access the page ''sample.html'' that you copied on the web server with a web browser (typically '' http://localhost/sample.html''). Fill in the text field with a username and click ''Submit''. You should see a page displaying the name you just entered. Although not earth-shattering, this sample shows the basis for building more complex forms processing in Eiffel.
|
||||
To run the example, access the page ''sample.html'' that you copied on the web server with a web browser (typically <nowiki>''http://localhost/sample.html''</nowiki>). Fill in the text field with a username and click ''Submit''. You should see a page displaying the name you just entered. Although not earth-shattering, this sample shows the basis for building more complex forms processing in Eiffel.
|
||||
|
||||
==Under the Hood==
|
||||
|
||||
@@ -28,9 +31,8 @@ This basic sample has just one class <eiffel>SAMPLE</eiffel> which inherits from
|
||||
|
||||
|
||||
|
||||
See the reference for the class interfaces.
|
||||
|
||||
}}
|
||||
See the EiffelWeb class reference for the class interfaces.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user