Updated Doc_Getting_Started (mediawiki)
This commit is contained in:
@@ -31,26 +31,26 @@ Once the project is compiled, we will adapt the root class to point to port numb
|
|||||||
To do this, we will redefine the feature initialize as follows:
|
To do this, we will redefine the feature initialize as follows:
|
||||||
|
|
||||||
<code lang="eiffel">
|
<code lang="eiffel">
|
||||||
class
|
class
|
||||||
APPLICATION
|
APPLICATION
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_DEFAULT_SERVICE
|
WSF_DEFAULT_SERVICE
|
||||||
redefine
|
redefine
|
||||||
initialize
|
initialize
|
||||||
end
|
end
|
||||||
|
|
||||||
create
|
create
|
||||||
make_and_launch
|
make_and_launch
|
||||||
|
|
||||||
feature {NONE} -- Initialization
|
feature {NONE} -- Initialization
|
||||||
|
|
||||||
initialize
|
initialize
|
||||||
-- Initialize current service
|
-- Initialize current service
|
||||||
do
|
do
|
||||||
set_service_option ("port", 9090)
|
set_service_option ("port", 9090)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
After one more compile, you can now launch the application and point your browser to [http://localhost:9090].
|
After one more compile, you can now launch the application and point your browser to [http://localhost:9090].
|
||||||
|
|||||||
Reference in New Issue
Block a user