If your question is whether to use JSP or Servlet, then you can use either one really, because the JSP basically gets compiled into a Servlet, but the 'purer' approach is to use Servlet for receiving form input and JSP to show it.
One advantage JSP has over Servlet as recepient a of form is that it can automatically set the properties of the JavaBean used based on the input parameters, so it saves you some work of explicitly calling setXXX methods.
Whichever way you go, it is best to keep your business logic code in the Bean, it is easier to
test, debug, and reuse. This may not be apparant if the amount of code is very little, but as the beans get bigger and start to do more complex tasks, you will see the difference.