<beans> and struts basics

J

john butorac

Description;

Currently the application is returning to the jsp a string which I
would like to parse. In the application I have something similiar to
the following:

<logic:iterate id="expCatTrn" name="expCategory"
property="transactions">
<tr class="cell">
<td class="data"><bean:write name="expCatTrn" property="transaction"
/>
</tr>
</logic:iterate>


The statement <bean:write name="expCatTrn" property="transaction" />
brings back a string which I would like to parse (ie: Account 1234).
I would like to be able to parse the string so that I can display it
differently (ie: ACCOUNT<br>1234). I was told that I could use
<bean:define and then <bean:write to do this, but I haven't been able
to figure out how. Can anyone help?

Thanks-
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top