This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Fetch total from two Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Fetch total from two Beans" Watch "Fetch total from two Beans" New topic
Author

Fetch total from two Beans

Joseph Smithern
Ranch Hand

Joined: Feb 11, 2006
Posts: 89
I have a Bean class that has a counter where I show the total number in a JSP. I now have another Bean class that also has a counter which gives me a total number. How can I combine each bean class total and show it on a JSP? I am using Tomcat 4.1.27 with no JSTL.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60767
    
  65

Add the two results together.

Obviously there's gotta be more to the question, but as stated, that's all I can offer.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fetch total from two Beans
 
Similar Threads
Class not found error in JSP
Confused with Stateless Session Bean
BubbleSort
Refreshing/Reloading JSPs when user hits Back button
why doesn't this work?