Loading Page Error. Try Again!

Dear Friends.

I want to forward the control to a jsp page from a servlet.

javax.servlet.RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/home/loginForm.jsp");

dispatcher.forward(request,response);

Hope this code is not working properly.

While running this program at that time one error is occured.

Loading Page Error. Try Again!.

this error is visible in the jsp page.

I am not able to fix that problem.

Please give me some hint.

Thanks & Regards

Santanu

[557 byte] By [santanua] at [2007-11-26 18:06:20]
# 1

1) are you manually returning after you are doing the forward?

2) are you sure that the response has not been committed before you do the forward?

3) is dispatcher not null (if null, the given resource is not found)

I find the error message that is printed a bit strange, it looks more like something a custom error handler would output.

gimbal2a at 2007-7-9 5:37:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...