if (author == null) { author = ""; }
    protected void doDSGet(Context context,        HttpServletRequest request,        HttpServletResponse response)        throws ServletException, IOException, SQLException, AuthorizeException    {        // We will resolve the HTTP request parameters into a scope        BrowseScope scope = new BrowseScope(context);                // Get log information        String logInfo = "";        // Get the HTTP parameters        String author = request.getParameter("author");        String order = request.getParameter("order");        // How should we order the items?        boolean orderByTitle;        if (order != null && order.equalsIgnoreCase("title"))        {            orderByTitle = true;            logInfo = "order=title";        }        else        {            orderByTitle = false;            logInfo = "order=date";        }                // Get the community or collection scope        Community community = UIUtil.getCommunityLocation(request);        Collection collection = UIUtil.getCollectionLocation(request);        if (collection != null)        {            logInfo = logInfo + ",collection_id=" + collection.getID();            scope.setScope(collection);        }        else if (community != null)        {            logInfo = logInfo + ",community_id=" + community.getID();            scope.setScope(community);        }                        // Do the browse        scope.setFocus(author);        BrowseInfo browseInfo = Browse.getItemsByAuthor(scope, orderByTitle);                log.info(LogManager.getHeader(context,            "items_by_author",            logInfo + ",result_count=" + browseInfo.getResultCount()));        // Display the JSP        request.setAttribute("community", community);        request.setAttribute("collection", collection);        request.setAttribute("author", author);        request.setAttribute("order.by.title", new Boolean(orderByTitle));        request.setAttribute("browse.info", browseInfo);        JSPManager.showJSP(request, response, "/browse/items-by-author.jsp");    }