When a return statement is encountered in a JSP scriptlet (<% return; %>), it immediately terminates the processing of that JSP page and returns control to the caller. This is equivalent to returning from the _jspService() method generated by the JSP container.