Hey Guys,
In my jsp I am passing a param as follows,
<logic:iterate id="Listingcategory" name="categoryList">
<tr>
<td>
<html:link action="createListingBridge" paramId="CategoryTitle" paramName="Listingcategory" property="title"><bean:write name="Listingcategory" property="title"/></html:link>
</td>
</tr>
</logic:iterate>
When I do a request.getParameter in the action class it returns the name of the class instead of the actual value.
Action Class Snippet:
String title = request.getParameter("CategoryTitle");
logger.info("The value of the title parameter is: "+title);
Output:The value of title is: com.jumper.dao@749436.
Can someone tell me what I need to do to get the value of the bean property instead of the class name.
In my jsp I am passing a param as follows,
<logic:iterate id="Listingcategory" name="categoryList">
<tr>
<td>
<html:link action="createListingBridge" paramId="CategoryTitle" paramName="Listingcategory" property="title"><bean:write name="Listingcategory" property="title"/></html:link>
</td>
</tr>
</logic:iterate>
When I do a request.getParameter in the action class it returns the name of the class instead of the actual value.
Action Class Snippet:
String title = request.getParameter("CategoryTitle");
logger.info("The value of the title parameter is: "+title);
Output:The value of title is: com.jumper.dao@749436.
Can someone tell me what I need to do to get the value of the bean property instead of the class name.