I have a JSP that contains a list of User bean, and I display that list
with all the attributes of the User bean.  I use literate tag to display
it
 
<logic:iterate id="bUser" offset="offset" length="length"
name="vUserList" indexId="rowNum" scope="request">
        <tr>
        <td><bean:write name="bUser" scope="page" property="IUserId"
/></td>
        <td><bean:write name="bUser" scope="page" property="SUserName"
/></td>
        <td><bean:write name="bUser" scope="page" property="SEmail"
/></td>
        <td><bean:write name="bUser" scope="page"
property="ISupervisorUserId" /></td>
        <td><html:link page="/UserDetail.do" paramName="bUser"
paramProperty="IUserId" paramId="UserId"> 
            Detail</html:link>
        </tr>
    </logic:iterate>
 
This is passed to /UserDetail action specified in the action mapping,
which then will forward the request to UserDetail.jsp.
 
<action path="/UserDetail"
type="com.apps.crm.web.actions.UserDetailAction">
<forward name="forwardUserLoaded" path="/UserDetail.jsp"
redirect="false" />
</action>
 
If I do the data access part in UserDetailAction, how can I retrieve the
UserId parameter that was specified from the link part in UserList.jsp?
 
Andy

Reply via email to