If you're an newbie,
you should take a look at "Apache
Tomcat Bible" from Eaves, Jones & Godfrey (WIley Publishing inc).
This book explains in detail where you can download Java SDK, Tomcat, MySQL,
Ant,
Struts. And it explains in detail how the model view controller or MVC model 2 works. And this is something that a lot of books on JSP and/or servlets do not explain.