I can't help you. Some time you are asking you are facing problem while making shopingCart and now you are asking how to get parameter. You didn't clearly mention your problem.
As i understood you want to know how to get request parameter when you click on submit button.
then use request.getParameter("Pass here parameter name")
As you mentioned you are facing problem with jsp not in another language. I think you just started jsp.
I would like to request to others if somebuddy able to understand you.
But since this is very trivial, I would suggest for you hinasaeedali to find a good book about JSP and Servlets, before continuing. Also look at the first post of this forum that explains database connectivity with JSP: http://www.daniweb.com/forums/thread141776.html