How do you stop all futher processing in a JSP page?
Created May 4, 2012
Christopher Longo You could always just stuff a return in a scriptlet.
... <% String action = (String)request.getParameter("action"); if(s.equals("stop!")) return; %> ...
This should work with all JSP implementations.
Keep in mind that what you are doing in essence is returning from the middle of a Servlet service() method.
I always recommend use of "if" and "else" statements control the flow of the JSP page, rather than bluntly returning.