This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes add map values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

add map values

arjun rampal
Ranch Hand

Joined: Jul 08, 2005
Posts: 125
Hi

I am getting values of total in six rows for example
in first row 2,in second row 2 like that from a map in action class(strut web application)

<logic:iterate id="ele" name="daMap">
<logic:present name="ele" property="value">
<bean:define id="ia" name="ele" property="value"/>
<bean:write name="ia" property="numeric"/>
</logic:present>
</logic:iterate>

now issue is i need to add these value and show that result on same page after these rows

whether it is possible or not.if yes how


Regards
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60791
    
  65

Please pose Struts questions in the Struts forum.

I've moved this ther for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Please don't post the same question in multiple forums. It wastes people's time by creating redundant conversations on the same topic.


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: add map values
 
Similar Threads
html:checkbox element with POJO-based array not updated
Display data using Structs Tag
problem with nested <logic:iterate>
help with html radio tag
add collection values