How is pageContext.forward("page2.jsp"); valid?
Why is the answer not the following:
RequestDispatcher rd = request.getRequestDispatcher("page2.jsp"); rd.forward(request, response);
About Question com.enthuware.ets.scwcd.v5.2.233 :
Moderator: admin
-
- Posts: 5
- Joined: Mon Jan 27, 2014 7:59 am
- Contact:
-
- Site Admin
- Posts: 10090
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.233 :
There is no getRequestDispatcher method in HttpServletRequest. It is there in ServletContext.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 20 guests