web app: get greet and name from web form

In localhost:8080/name, web POST name and greet to server,
then server call the index.html and return it.