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