• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Urgent question

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, please forgive me if this is a bit of an obvious one, but I am pretty new to this.
I am trying to obtain a single number from a calculation based on the information contained in 5 jsp generated text or jsp files. Then I'm gonna compare this number to a value in my database, to select a particular response.
So, I have five files with a value in them - just variation on 5, 10 or 20.
I can get these 5 numbers to print out using this method:

However, I want to add them up....and I've tried a few things, but no luck so far.
Here's my code - would really appreciate some help.
Thanks muchly in advance,
Tom

P.S - I also thought of using jsp files, and using jsp:includes, but this doesn't seem to work either. Any suggestions?
 
Tom Bevan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please Ignore, Problem Solved!


Tom
 
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic