Here's my setup:
Java 1.4.2
Tomcat 5.5.17
Windows XP
I'm developing in NetBeans 6.5 (which is invoking Tomcat)

The page just reads from a database and stuffs the results into a table.

I noticed that the page was taking forever to load, so i placed logging
statements in it, at the beginning of the page (before the db is accessed)
and in the middle (where the results are unrolled into a table).  Upon
looking at the log file i could see that the page was being invoked hundreds
of times.  There is no pattern discernible from the log file, the entries
are mostly like this:
begin page
print row
print row
print row
print row
begin page
print row
print row
begin page

and so on, no real pattern.

Despite being invoked (or whatever) hundreds of time, the page looks alright
once it finally finishes, which i find rather strange.
I've done many pages like this, some of are much more complex and they all
work fine.
And I know its not a problem with the DB api, i created a test page that
calls the exact same method, unrolls the returned array and does a println
for each item, and it works fine.

any help would be appreciated

Reply via email to