Hi,
I am using an
Struts action class, in which based on some condition i am forwarding the request to another
JSP using the RequestDispatcher.forward().
But the code after this forward statement also getting executed...
Ex:
request.getRequestDispatcher("/XssValidator.jsp").include(httpServletRequest, httpServletResponse);
System.out.println("After Dispatching");
But i don't want the execution of code after the forward has happened.
please help me on how to implement this..
Many Thanks.
K.Chandra