WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Implementing rating logging

To implement rating logging, insert a Rating bean into your JSP. For example:

<jsp:useBean class="com.ibm.wcp.analysis.beans.Rating" id="pref" scope="session" />

<%
    // 

The mediaId, collectionName, and rating were added to the request // by the referring page. pref.log( request, request.getParameter( "mediaId" ), request.getParameter( "collectionName" ), request.getParameter( "rating" )); %>

 

Web applications implementing preference logging must provide a user interface (UI) to enable preference setting. Once retrieved from the UI, the preference settings can be logged with the Rating bean.

 

Parent topic:

Rating beans