Could anyone tell me what is difference between jsp:forward and RequestDispatch er.forward?
These two codes behave differently ...
and
In first case ...... after getting forwarded the next statements are not getting executed.
But in second case ..in spite of getting forwarded the next statements are getting executed .....
Wy?
These two codes behave differently ...
Code:
<jsp:forward page="page_ref"/>
Code:
request.getRequestDispatcher("page_ref").forward(request,response);
But in second case ..in spite of getting forwarded the next statements are getting executed .....
Wy?
Comment