stringBuilder.append("<a href=\"").append(request.getContextPath()).append(getUrl()).append("&").append(getPageNumberAttributeName()).append("=").append("1").append("\">"); stringBuilder.append(getMessage("label.collectionPager.first", "<<" )).append("</a>&nbsp;"); stringBuilder.append("<a href=\"").append(request.getContextPath()).append(getUrl()).append("&").append(getPageNumberAttributeName()).append("=").append(Integer.toString(pageNumber - 1)).append("\">"); stringBuilder.append(getMessage("label.collectionPager.previous", "<" )).append("</a>&nbsp;");
stringBuilder.append("<a href=\"").append(request.getContextPath()).append(getUrl()).append("&amp;").append(getPageNumberAttributeName()).append("=").append("1").append("\">"); stringBuilder.append(getMessage("label.collectionPager.first", "&lt;&lt;" )).append("</a>&nbsp;"); stringBuilder.append("<a href=\"").append(request.getContextPath()).append(getUrl()).append("&amp;").append(getPageNumberAttributeName()).append("=").append(Integer.toString(pageNumber - 1)).append("\">"); stringBuilder.append(getMessage("label.collectionPager.previous", "&lt;" )).append("</a>&nbsp;");
    private void addFirstSymbols(StringBuilder stringBuilder, HttpServletRequest request, final int pageNumber) throws JspException {	if (pageNumber > 0 && pageNumber != 1) {	                stringBuilder.append("<a href=\"").append(request.getContextPath()).append(getUrl()).append("&").append(getPageNumberAttributeName()).append("=").append("1").append("\">");                        stringBuilder.append(getMessage("label.collectionPager.first", "<<" )).append("</a>&nbsp;");                                    stringBuilder.append("<a href=\"").append(request.getContextPath()).append(getUrl()).append("&").append(getPageNumberAttributeName()).append("=").append(Integer.toString(pageNumber - 1)).append("\">");                                   stringBuilder.append(getMessage("label.collectionPager.previous", "<" )).append("</a>&nbsp;");	}    }