servlet issue

I am running this program but instead of redirecting to the next page, the servlet LoginServlet just opens a blank page. Can anyone spot where i may have gone wrong? The servlet is in a package called Login.

I seem to have it working now, the only issue i am having is the redirecting to the error page. There are no errors but its not redirecting. It redirects if the details are correct but if they are wrong it does not .

No probs.
At least you did the check in the SQL.
You won't believe the number of people who simply get a resultset from the user table and have Java cycle through it all checking for username and password.