[ Team LiB ] 5.7 The Article Page

[ Team LiB ] 5.7 The Article Page The article page consists of two pieces: the contents of the article and the comment region, which allows users to comment on stories and read others’ comments. The first portion is even simpler than the section page, as it need only display the contents of a few properties from the ArticleBean, as shown in Listing 5.8. Listing 5.8 The article page

Posted by at

Note the use of the fmt:formatDate tag from the previous chapter to format the date. The comment portion appears below the article contents and shows the list of available comments, along with a form to add an additional one, as shown in Listing 5.9. Listing 5.9 The comment section



Comments

Posted by at



Comment on this article

Hint: If you are looking for very good and affordable webspace to host and run your java hosting application check Virtualwebstudio java web hosting provider

Comments are closed.