Attempt to use javascript to send parameters to servlet

1. paramters now are sent from select dropdown for post,
2. there's an issue in getting the data displayed in html page. - will
think about it why data fail to display on html page.