I'm trying to get started with Java on the web. I can find plenty of stuff on Java, applets, servlets and various web servers etc but nothing that tells me how it all hangs together. e.g I've written a simple (hello world) java class, I've got sun's webserver installed, I've put my object in the right directory, when I try to execute it via the browser it tries to download it, not run it.
In short what I'm missing is a primer on the bigger picture for Java development for the web - what are the components I need to build, how do I set them up, what is a servlet etc. Can anyone point me to a good primer on the web. Everything I can find is about the Java language or one of the components. I'm familiar with programming in other languages and have a passing acquaintance with perl/CGI.