Java Projects

It's time to start writing code. A great book to use in setting up a first project is Murach's Java Servlets and JSP. It contains a couple of relatively easy projects (complete with code) including a mailing list program that makes a perfect beginner's project.

Tomcat has also provided several sample jsp files in the webapps directory. Navigate to C:\Program Files\apache-tomcat-7.0.5\webapps\examples\jsp\ to get some ideas. In the C:\Program Files\apache-tomcat-7.0.5\webapps\ROOT directory take a look at index.jsp. It's the page that came up when you originally set up the Tomcat directory above (which you reach with http://localhost:8080/ in the address of your browser).

Fortunately, almost any question you may have about programming has been asked before -- usually several times -- in the newsgroups. Just reading the current entries will quickly increase your understanding of Java programming. It will also help you realize you're probably not the dumbest Java programmer in the world -- although, obviously, one of us is that person! For answers and suggestions about writing Java code, check the following Google newsgroups: