Hello all:
I'm creating a report in HTML using JSP.
The JSP hits a database using JDBC and then loops through a result set to
access the data. There is "control break" logic in the loop so that when a
control field in the result set changes, an HTML total line is created for
that control field, totals are reset, and we continue looping through the
result set.
What I'm trying to do call a JSP "in-line" method from the loop to produce
the HTML total line and reset the total variables. I've declared the method
at the top of the JSP and because it is parsed first, the HTML total lines
get produced before I've actually called the method.
Any suggestions for preventing this?
It is my understanding that the method must be declared before it is called.
Thanks in advance
Wayne Powell
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets