I think the problem is here:
that must be changed to:
Type: Posts; User: nambill
I think the problem is here:
that must be changed to:
Don't output HTML code directly in servlet's doGet() method. Instead, you should create a HTML page and get it redirected from the servlet.