Hi Lino,
Thanks for your reply..
i tried what you have suggested.. but it gave me error: the method getServletContext() is not defined for the ServletContext
so i had to change the method. to this
I have tried the above code but it still gives me the same error that the The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------

Please advise
I have also one question, this error does it mean that the servlet does not forward to the
jsp (HomePage) in a way that HomePage is not available.. OR it also mean that the username and password wasn't checked from the first place?

actually i dont know if it accessed the database or not..
Thanks in advance
Hend