I want to know what are the differences between JSP and Servlet, when is best
to use JSP and when servlet is. I heard that JSP is as HTML code, that calls
to Bean's functions that return Strings,
that included in the HTML code is the Final Page. Otherwise I heard that
Servlet's return is Java Server Page, and I know well how to use them but
I don't know what's diference.

Thanks.