This commit consists of build file that has correct war target. It
deploys correctly but I do not understand the way spring web mvc works
and hence cannot make the application work after certain point.
This version now works as spring mvc form. it also validates the fields
but no error message is shown instead the webpage catches http-400
error.