Forums Register Login

Urgent question

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
Please Ignore, Problem Solved!


Tom
The fastest and most reliable components of any system are those that are not there. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1359 times.
Similar Threads
IllegalStateException
Noob problem..
Reading File from outside the WEBROOT
Code in servlet - doubt
Reading two text file using streamtokenizer
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:05:25.