JSPManager.showJSP(request, response, "/dspace-admin/edit-collection.jsp");
JSPManager.showJSP(request, response, "/tools/edit-collection.jsp");
    private void showNextPage(Context context,            HttpServletRequest request,            HttpServletResponse response,            Collection collection,            int stage)    throws SQLException, ServletException, IOException, AuthorizeException    {        // Put collection in request attributes, as most JSPs will need it        request.setAttribute("collection", collection);                // FIXME: Not a nice hack -- do we show the MIT users checkbox?        if (Group.findByName(context, "MIT Users") != null)        {            request.setAttribute("mitgroup", new Boolean(true));        }                log.debug(LogManager.getHeader(context, "nextpage", "stage=" + stage));                switch(stage)        {        case BASIC_INFO:            // Next page is 'permission to read' page iff ITEM_DEFAULT_READ            // for anonymous group is NOT there            List anonReadPols = AuthorizeManager.getPoliciesActionFilter(                    context, collection, Constants.DEFAULT_ITEM_READ);            // At this stage, if there's any ITEM_DEFAULT_READ, it can only            // be an anonymous one.            if (anonReadPols.size() == 0)            {                request.setAttribute("permission", new Integer(PERM_READ));                JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp");                break;            }                    case PERM_READ:            // Next page is 'permission to submit' iff there's a submit group defined            if (collection.getSubmitters() != null)            {                request.setAttribute("permission", new Integer(PERM_SUBMIT));                JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp");                break;				            }                                case PERM_SUBMIT:            // Next page is 'workflow step 1' iff there's a wf step 1 group defined            if (collection.getWorkflowGroup(1) != null)            {                request.setAttribute("permission", new Integer(PERM_WF1));                JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp");                break;				            }                    case PERM_WF1:            // Next page is 'workflow step 2' iff there's a wf step 2 group defined            if (collection.getWorkflowGroup(2) != null)            {                request.setAttribute("permission", new Integer(PERM_WF2));                JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp");                break;				            }                    case PERM_WF2:            // Next page is 'workflow step 3' iff there's a wf step 2 group defined            if (collection.getWorkflowGroup(3) != null)            {                request.setAttribute("permission", new Integer(PERM_WF3));                JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp");                break;				            }                    case PERM_WF3:            // Next page is 'collection administrator' iff there's a collection administrator group            if (collection.getAdministrators() != null)            {                request.setAttribute("permission", new Integer(PERM_ADMIN));                JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp");                break;                          }                    case PERM_ADMIN:            // Next page is 'default item' iff there's a default item            if (collection.getTemplateItem() != null)            {                DCType[] types = DCType.findAll(context);                request.setAttribute("dctypes", types);                JSPManager.showJSP(request, response, "/dspace-admin/wizard-default-item.jsp");                break;                          }                    case DEFAULT_ITEM:            // Next page is 'summary page (the last page)            // sort of a hack to pass the community ID to the edit collection page,            // which needs it in other contexts	    if (collection != null)	    {                Community[] communities = collection.getCommunities();                request.setAttribute("community", communities[0]);	    }            JSPManager.showJSP(request, response, "/dspace-admin/edit-collection.jsp");            break;				        }    }