The tag package of the table is displayed on the JSP page: DBGrid, displaytag, and ValueList.

Source: Internet
Author: User
The tag package of the table is displayed on the JSP page: DBGrid, displaytag, and ValueList.

Eric @

Blog is really good. Collect theserverside every day.ArticleYou can understand what Java developers are doing.

Yesterday I saw an article about the tag package of the JSP page display table. I recommended a tag package named DBGrid for JSP, which was scolded by many people, because it connects to the database directly with connection in the tag, the presentation layer and the business logic layer are not separated. In some respects, doing so has some advantages, such as high efficiency and low memory overhead. But in general, it does not conform to the MVC idea. Therefore, some people recommend the displaytag and ValueList of open source, as well as the commercial dotj. displaytag is relatively simple and has both functions, but it can generally meet application requirements, therefore, you can modify the source code by yourself even if there is anything that does not meet the requirements. ValueList is relatively complex and has not been detailed yet. It only shows its function demonstration and has a lot of content. In addition, each time displaytag displays a table, it needs to put the data collection into the session. If the number of users is large, there will be a lot of data collection in the memory, which may be efficient, it is said that ValueList does not have this problem. The commercial dotj function is even more powerful. It supports data modification and so on, but it only requires money. In addition, many J2EE design modes are used for implementation of ValueList, which may have better structure.

ValueList: http://valuelist.sourceforge.net/

Displaytag: http://displaytag.sf.net

Dotj: http://www.dotjonline.com

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.