| Author |
want to get in java string
|
dhriti joshi
Ranch Hand
Joined: Aug 13, 2002
Posts: 82
|
|
in the following code i need to get the "description" in a java String,because i have to perform some string tokenizer action on it.how do i get it in string. <logic:iterate id="element2" name="resultDestExcep" property="resultList"> <bean:write name="element2" property="description" /> </logic:iterate> thanks.
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4726
|
|
<logic:iterate id="element2" name="resultDestExcep" property="resultList"> <% String description = element2.getDescription(); %> <bean:write name="element2" property="description" /> </logic:iterate>
|
A good workman is known by his tools.
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4726
|
|
|
You might have to specify the class name in the "type" attribute of your logic:iterate tag.
|
 |
 |
|
|
subject: want to get in java string
|
|
|