aspose file tools*
The moose likes Struts and the fly likes want to get in java string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "want to get in java string" Watch "want to get in java string" New topic
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: 4727

<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: 4727

You might have to specify the class name in the "type" attribute of your logic:iterate tag.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: want to get in java string