• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • 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
 
I don't even know how to spell CIA. But this tiny ad does:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic