Added 11.12.2005: Comments on HW2, the nine musicians.
Added 10.19.2005: Hazem Salama
recommends an article "Servlets and JSP Pages Best Practices," from the Sun
Developer Network. It's a very clear-looking overview of what the subject is,
with key points illustrated. It's not a tutorial you can copy code from and try
it, but it brings the whole thing into focus. It comes with a JSP cheat sheet,
which you can open and--if you want--print.
JSPSyntax.pdf
Added 10.14.2005: A nice tutorial on an elementary (I think) aspect of JSPs: http://www.javaranch.com/journal/200510/Journal200510.jsp#a1 The title is "Why does everyone tell me to use a servlet to send binary data to the browser? I wanna use a JSP!"
Added 10.5.2005: Marika Mijayi points us a Sun page that relates directly to our Beer Advice app. http://forum.java.sun.com/thread.jspa?threadID=646818&tstart=135 At first I thought Marika had posted it--but it has a date in July. Worth a look: talks about packages, and how your package structure must match your package name.
Added 10.3.2005: Link deleted at the request of the proposer.
What we need is a book that assumes basic knowledge of HTML, talks Tomcat 5 only, and intermixes servlets and JSP so we see how they interact to get the work done. I know of no such book or tutorial. If you find one, SHOUT.
Added 10.1.2005: A Tomcat tutorial that Mike Malinowski found. Unix/Linux orientation, but Mike says only/mostly in the command line stuff.
Added 9.26.2005: A provocative Business Week article, "It's a Whole New Web." Somewhat slow, because that link gets you the whole page of the Internet version of the magazine. And it plays video.
Added 9.21.2005: Here is a whole page of links to good Sun Java tutorials.
Added 9.21.2005: Thanks to Ayman Agha: A big collection of free tutorials on servlets and lots of related things. For a good starting point for where we are now (the autumnal equinox) click here. An entry point to the table of contents. A ton of useful stuff, including intermediate Java, if you need that.
Here are the file names of what look to be the Good Stuff. You have to mouse around in the pages shown above to find. I'll copy onto a USB card if you want.
01-Overview-and-Setup.pdf
02-Servlet-Basics.pdf
03-Form-Data.pdf
04-Request-Headers.pdf
05-Status-Codes.pdf
06-Response-Headers.pdf
07-Cookies.pdf
08-Session-Tracking.pdf
09-JSP-Intro.pdf
10-JSP-Scripting-Elements.pdf
11-page-Directive.pdf
12-File-Inclusion.pdf
13-JavaBeans.pdf
14-MVC.pdf
15-Expression-Language.pdf
Se15-JDBC.pdf
You obviously don't need these all at once.
Added 9.20.2006. A useful link on comments in HTML and a number of other HTML issues.
Added 9.10.2005: There is a solid tutorial about Tomcat at http://www.coreservlets.com/Apache-Tomcat-Tutorial/ . Please consider following the instructions to download the preconfigured version, before you test your wings by going through the whole complicated install on your own. We can't go too far with servlets until most everybody has Tomcat running.
Added 9.9.2005: Mike Malinowski found a killer site for embedding music in HTML files. http://www.tizag.com/htmlT/music-code.php. There are a LOT of other tutorials as well. This looks like a major resource. Do check it out.
Added 9.3.2005: I have downloaded a LAMP tutorial from IBM. I'm not sure yet whether we should all set out to do it. Anybody with time could do everybody a favor by trying to follow it and reporting problems and successes.
From early.
The World Wide Web Consortium, written W3C, has a lot of outstanding tutorials. In many of them you can make changes in the code they show, and immediately see the effect. The base link is http://www.w3schools.com. Our favorites:
DOS basics:
JSPSyntax.pdf