javax.servlet.ServletException: bean [name] not found within scope

You need the class attribute instead of the type attribute. The following: <jsp:useBean id=”bean” type=”com.example.Bean” scope=”request” /> does basically the following behind the scenes: Bean bean = (Bean) pageContext.getAttribute(“bean”, PageContext.REQUEST_SCOPE); if (bean == null) { throw new ServletException(“bean not found within scope”); } // Use bean … While the following: <jsp:useBean id=”bean” class=”com.example.Bean” scope=”request” /> … Read more