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?