Can JSP pages process forms?
JSP pages can process forms using Java code embedded in the JSP page (that is, in a “scriptlet”), or from within custom tag code. We do not recommend this approach, for reasons detailed above. We recommend processing forms using servlets that receive the GET or POST data, and then forwarding the request and associated input to the appropriate JSP page.