Yes, it seems easier to just write JSP when you're starting out. Although I found it took me about two days before I got really, really tired of trying to get the Java bits matched up with the Java bits and the HTML bits matched up with the HTML bits.
Originally posted by Chun Lee:
From point 5, I am interested in better design. So when would it be a good situation to use servlet and when is it good to use jsp? I am still in the middle of picking up jsp. I know that all jsp are translated to servlet, so I tried to keep things straight forward thus have a list of jsp and no servlet java file.
Here's a link to part of the JDBC tutorial. It would be worth your while to have a look at the rest of it, too.
Would you mind giving me a simple example on how to use the PreparedStatement?