Hello,
Servlets are good for doing the "controller" part and JSP are good at handling the "view"
part in classic model-view-controller architecture.
When you design your web application, you start with a controller servlet. This does
not produce any dynamic content, but communicates with the model in order to
generate some data. Once the data is made available in the request or context, you
pass the request onto the JSP that forms the "view".
Servlets are good at not producing dynamic contents, JSP's are.
Hope that helps.
Regards,
Kedar