Problem 4: DB-backed servlets
I have created a table on your server using the following SQL
create table colorscheme(name BLOB, bg BLOB, fg BLOB)
and I have inserted several rows into this table. You are to
write
f4.servlet which reads the table and generates a page
showing all of the colorschemes in that table as follows:
Note that it also generates a form at the bottom to get info
on a new color scheme and to send that info to "f4a.servlet"
which you can write for extra credit!
Problem 4a: Exra credit - more DB-backed servlets
Write f4a.servlet which takes the name,bg,fg information from
f4.servlet and stores it in the table. It should also generate
the following response page (but the table will of course have different
contents!)