I am really excited about go-lang. Its fantastic how you can start a
webserver from within the language.
Here is my request:
i want to build a simple application with which will have a page called
HelloForm where a user will simply put in their name and a WebResponce Page
which takes the parameter of the name and displays e.g. "Hello Will". I
want to see two templates, one for HelloForm and another for WebResponce
Pages
in html the equivalent would be:
e.g. if it were HelloForm.html
<html>
<head><title>HelloForm</title></head>
<body>
<form action='WebResponce' method='post'>
<input type = 'text' name ='name'><br />
<input type='submit' value='Submit' id='submitForm' name='submitForm' >
</form>
</body>
</html>
How do i build this simple application with using two pages (bound to two
templates) and the webserver file? I have gone through many examples
online and this is not very clear.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.