Hey Jaymit, 
Here I implement how to pass parameter from jsp or html page to our rest
service with Jersey. Check the html page(login.html) which is going to
call "signin" service in HoweController.java, afterwards, the controller
will forward the request to main.jsp. So according to this working flow
you can know how they work. Any Question please email me.