Project 2
Build a servlet that connects to a
database with at least one table which has multiple fields. You may use your bean structure from project
1 but you don’t have to. Use html
form(s) to select functionality (C-R-U-D).
Recall, read (select from…) should be a doGet(..) but create, delete
and update should be doPost(..) operations. If you take screen shots, be sure to do a
select after each delete, update or create operation. If you wish, you can build the
login/register part of project 3 to satisfy this project, as long as you allow
users to edit their passwords (or user names).
Be careful about primary key – you may wish to use an autoassign int for primary key
instead of user/pw.
However, be sure NOT to allow users with same name/pw
to register.