Hi Peter, Welcome to the Ranch!
As Chris pointed out, with
JSP and
Servlets, the
Java component executes on the server in order to format whatever will be sent to the client. No Java executes on the client to control the interface. (For that, you're still stuck with
applets).
Think of JSP as a dynamic templating language to create HTML pages.
hth,
bear