for
getIndustryId()
<bean:write name="Detail" property="industryId" />
This has always been the case with JSP tags even if you use
<jsp:getProperty name="Detail" property="industryId" />
if you dislike the lowercaseization(such a credit to the english language :o) ) of the first letter you could revert to
<%= Detail.getIndustryId() %>
or something like this in jstl (not sure how the casing works).
<c:out value="${Detail.industryId}" />
I'm not sure whether there's a standard for naming the objects you scope. But as I don't know I wont say. In terms of conventions "Detail" would be "detail" but I dont know if this is merely style rather than standard.
Cheers Mark
On Thursday, August 21, 2003, at 06:25 AM, Andy Cheng wrote:
When I try to display a value from the action form, I use <bean:write> tag, it is fine for Strings, dates etc, but it is not for tables keys, such as: <bean:write name="Detail" property="IndustryId"/> which will give me 1,2,3,4 etc. I have some HashMap in the servletContext already, they contain the content of these small tables. Would someone please suggest me an easy way of doing this? Thanks
Andy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]