aspose file tools
The moose likes JSP and the fly likes Urgent question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Urgent question" Watch "Urgent question" New topic
Author

Urgent question

Tom Bevan
Greenhorn

Joined: Jun 30, 2003
Posts: 10
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

Joined: Jun 30, 2003
Posts: 10
Please Ignore, Problem Solved!


Tom
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Urgent question
 
Similar Threads
Reading File from outside the WEBROOT
Code in servlet - doubt
Noob problem..
Reading two text file using streamtokenizer
IllegalStateException