HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
// Create a request attribute with our collection of beans
Registry registry = ((ApplicationServlet) getServlet()).getRegistry();
String names[] = registry.findManagedBeans();
Arrays.sort(names);
ManagedBean beans[] = new ManagedBean[names.length];
for (int i = 0; i < names.length; i++)
beans[i] = registry.findManagedBean(names[i]);
request.setAttribute("beans", beans);
// Forward to the corresponding display page
return (mapping.findForward("Dump Registry Results"));