code: public int doStartTag() throws JspException {
  
  		// Generate the URL to be encoded
  		String pageUrl = calculateURL();
  		StringBuilder url = new StringBuilder(pageUrl);
  		if (pageUrl.indexOf("?") < 0)
  			url.append("?");
  		else
  			url.append("&");
  
  		ModelListForm form = null;
  		try {
  			form = (ModelListForm) FormBeanUtil.lookupActionForm((HttpServletRequest) pageContext.getRequest(), actionFormName);
  			if (form == null)
  				throw new Exception();
  		} catch (Exception e) {
  			Debug.logError("[JdonFramework]not found actionFormName value: " + actionFormName, module);
  			throw new JspException(" not found " + actionFormName);
  		}
  
  		int start = form.getStart();
  		int allCount = form.getAllCount();
  		int count = form.getCount();
  		url.append("count=").append(count);
  
  		String nextPage = "";
  		if ((allCount > (start + count)))
  			nextPage = NEXTPAGE;
  
  		pageContext.setAttribute(URLNAME, url.toString());
  		pageContext.setAttribute(START, Integer.toString(start));
  		pageContext.setAttribute(COUNT, Integer.toString(count));
  		pageContext.setAttribute(ALLCOUNT, Integer.toString(allCount));
  		pageContext.setAttribute(NEXTPAGE, nextPage);
  
  		int currentPage = 1;
  		if (count > 0) {
  			currentPage = (start / count) + 1;
  		}
  
  		// 当前只有一页，没有下一页
  		if ((currentPage == 1) && (nextPage.length() == 0)) {
  			pageContext.setAttribute(DISP, "off"); // 不显示其它标识
  		} else
  			pageContext.setAttribute(DISP, "on");
  
  		// Evaluate the body of this tag
  		return (EVAL_BODY_INCLUDE);
  
  	}
docs: Render the beginning of the hyperlink.
  
  @exception JspException
  if a JSP exception has occurred