I have just started using this wonderfull set of library's but I had some questions.
I had hoped you could help me.
I started with the example HTTPFormServer:
This is the actual part I am interested in;
- Code: Select all
"<form method=\"GET\" action=\"/form\">\n"
"<input type=\"text\" name=\"text\" size=\"31\">\n"
"<input type=\"text\" name=\"text2\" size=\"31\">\n"
"<input type=\"submit\" value=\"GET\">\n"
"</form>\n"
FIrst question:
when the submit buttin gets pushed, I think these fields are pushed into the object form. Is this correct?
I made this conclusion because of the if (!form.empty()) line where the fields are printed on the page.
if so : question 1.2:
Form is an object of the type HTMLForm. the method
- Code: Select all
void load(const HTTPRequest& request);
is used to read the data from the GET request.
From where is this read? Only from the url?
thanks in advance
Stephen





