+

Search Tips   |   Advanced Search

Implement category logging

To implement category logging, insert a Category bean into your JSP. Consider the following code for inserting a category bean in your JSP.

We can also pass an object to a JSP and implicitly log the content category. For example:

In the previous example, the category bean logs the news category by querying the LoggableResource interface to get the category.

Parent topic: Category beans