文件名称:pagefen

  • 所属分类:
  • JSP源码/Java
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2013-10-31
  • 文件大小:
  • 117kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 雷**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

JAVA分页完美解决方案,

用两个TAG完成分页显示数据和页码,一个TAG(displaytag)专门显示数据,一个TAG(PagesSearchTag.java)专门显示页码,可以满足所有的分页要求,在JSP文件中调用这两个TAG既可完成分页任务。页码格式类似百度和谷歌,比较标准, 用户可输入每页显示的行数。

我用的是SSH2架构,在ACTION(YwgzAction.java)的ywgzsBrowse()方法中产生分页数据和分页的参数,跳转到JSP文件jobschedules.jsp中完成分页功能。另外,在ywgzSearch.jsp搜索功能中,也可用一个TAG(serachNewTag)得到分页数据,和ACTION配合完成分页,当然,也可直接用ACTION完成。值得一提的是,搜索功能中可以输入搜索参数,同样可以完美地分页显示。

在Tld文件中定义这两个TAG,在JSP文件中调用这两个TAG完成分页,简单实用,可用于所有的java项目。

-JAVA paging perfect solution, complete with two TAG display data pagination and page number, a TAG (displaytag) specialized display data, a TAG (PagesSearchTag.java) specialized display page, paging meet all the requirements in this JSP file called two TAG can complete pagination tasks. Page format is similar to Baidu and Google, more standard, the user can enter the number of lines per page. I use SSH2 architecture, ACTION (YwgzAction.java) of ywgzsBrowse () method generates paged data and paging parameters, jump to the JSP file jobschedules.jsp done paging capabilities. In addition, ywgzSearch.jsp search function, can also be a TAG (serachNewTag) to get paged data, and with the completion of ACTION paging, of course, can also be completed directly with the ACTION. It is worth mentioning that the search function you can enter search parameters can also be perfectly pagination. In Tld file defines these two TAG, in the JSP document calling these two TAG complete pagination, simple and
(系统自动生成,下载前可以参看下载内容)

下载文件列表





pagefen\jobschedules.jsp

.......\ywgzSearch.jsp

.......\PagesSearchTag.java

.......\SearchNewsTag.java

.......\pages.tld

.......\displaytag.tld

.......\..........\Messages.java

.......\..........\messages.properties

.......\..........\util\Anchor.java

.......\..........\....\CollectionUtil.java

.......\..........\....\DefaultHref.java

.......\..........\....\DefaultRequestHelper.java

.......\..........\....\DefaultRequestHelperFactory.java

.......\..........\....\DependencyChecker.java

.......\..........\....\Href.java

.......\..........\....\HtmlAttributeMap.java

.......\..........\....\HtmlTagUtil.java

.......\..........\....\LookupUtil.java

.......\..........\....\MediaUtil.java

.......\..........\....\MultipleHtmlAttribute.java

.......\..........\....\ParamEncoder.java

.......\..........\....\PostHref.java

.......\..........\....\ReflectHelper.java

.......\..........\....\RequestHelper.java

.......\..........\....\RequestHelperFactory.java

.......\..........\....\TagConstants.java

.......\..........\tags\CaptionTag.java

.......\..........\....\CaptionTagBeanInfo.java

.......\..........\....\ColumnTag.java

.......\..........\....\ColumnTagBeanInfo.java

.......\..........\....\HtmlTableTag.java

.......\..........\....\SetPropertyTag.java

.......\..........\....\TableFooterTag.java

.......\..........\....\TableTag.java

.......\..........\....\TableTagBeanInfo.java

.......\..........\....\TableTagExtraInfo.java

.......\..........\....\TableTagParameters.java

.......\..........\....\TemplateTag.java

.......\..........\render\HtmlTableWriter.java

.......\..........\......\ItextTableWriter.java

.......\..........\......\TableWriterAdapter.java

.......\..........\......\TableWriterTemplate.java

.......\..........\properties\displaytag.properties

.......\..........\..........\MediaTypeEnum.java

.......\..........\..........\SortOrderEnum.java

.......\..........\..........\TableProperties.java

.......\..........\.agination\NumberedPage.java

.......\..........\..........\PaginatedList.java

.......\..........\..........\PaginatedListSmartListHelper.java

.......\..........\..........\Pagination.java

.......\..........\..........\PaginationHelper.java

.......\..........\..........\SmartListHelper.java

.......\..........\model\Cell.java

.......\..........\.....\Column.java

.......\..........\.....\ColumnIterator.java

.......\..........\.....\DefaultComparator.java

.......\..........\.....\HeaderCell.java

.......\..........\.....\Row.java

.......\..........\.....\RowIterator.java

.......\..........\.....\RowSorter.java

.......\..........\.....\TableModel.java

.......\..........\localization\I18nJstlAdapter.java

.......\..........\............\I18nResourceProvider.java

.......\..........\............\I18nSpringAdapter.java

.......\..........\............\I18nStrutsAdapter.java

.......\..........\............\LocaleResolver.java

.......\..........\exception\BaseNestableJspTagException.java

.......\..........\.........\BaseNestableRuntimeException.java

.......\..........\.........\DecoratorException.java

.......\..........\.........\DecoratorInstantiationException.java

.......\..........\.........\ExportException.java

.......\..........\.........\FactoryInstantiationException.java

.......\..........\.........\InvalidTagAttributeValueException.java

.......\..........\.........\MissingAttributeException.java

.......\..........\.........\ObjectLookupException.java

.......\..........\.........\RuntimeLookupException.java

.......\..........\.........\SeverityEnum.java

.......\..........\.........\TablePropertiesLoadException.java

.......\..........\.........\TagStructureException.java

.......\..........\.........\WrappedRuntimeException.java

.......\..........\decorator\AutolinkColumnDecorator.java

.......\..........\.........\CheckboxTableDecorator.java

.......\..........\.........\ColumnDecorator.java

.......\..........\.........\Decorator.java

.......\..........\.........\DecoratorFactory.java

.......\..........\.........\DefaultDecoratorFactory.java

.......\..........\.........\DisplaytagColumnDecorator.java

.......\..........\.....

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org