A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Introducing JavaFX 8 Programming
this week in the
The method forward is undefined for RequestDispatcher
Joined: Apr 19, 2010
Apr 22, 2010 13:45:02
i always got this error
The method forward(HttpServletRequest, HttpServletResponse) is undefined for the type RequestDispatcher
how to fix it?
Joined: Jul 29, 2008
Apr 22, 2010 15:18:58
Are you sure that you have properly imported javax.servlet.RequestDispatcher and there is no other (your own) class named as RequestDispatcher ?
Author of ExamLab
- a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like?
How to Ask a Question
I agree. Here's the link:
subject: The method forward is undefined for RequestDispatcher
What is the Forward equivalent of Struts in Servlets?
forward and sendRedirect
How to invoke struts action through a simple java class
forward() method of RequestDispatcher vs sendRedirect() on Response object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015