I have a JSP that queries an MS Access database, which is a very slow process (we're hopefully going to be using an Oracle database soon). But this code I've been using has always finished executing before.In addition, the page is displaying information that is in the page well after the connection the database is closed.

After it takes the information from the database it puts that information in some beans that I've written for this app. The beans have been working normally in a nearly identical set of code in a different JSP.

It then iterates through the list made of the data (a list of 35 items, which is the count it gives me when I have it display the size of the results) and displays data from up to 10 rows that meet certain criteria. It does fine through 15 iterations then stops without any error (showing 5 of the 23 records that meet the criteria). Then it just stops. No error, nothing else. It just shows me the output line at the end of the loop then stops.

Is there a timeout setting in Tomcat that I can extend? And if there is, does the timeout record an error?

I thought <%@ attribute name="someName" required="true" %> was all the code I needed to write in a tag to create that attribute in the tag. The jsp container would then create the appropriate getter and setter for it when it compiled. Am I wrong? Do I need to go back to jsp kindergarten?

I've got an if statement in a bean that seems to be processing fine when I create a test java class, but doesn't work fine when the bean is invoked by a jsp.

My code, let me shows you it:

First, the test class:

a snippit from the IrCollection class it calls:

There's more code in another method that calls this particular method using:

But the problem is that if (datum=="none") portion in the second code sample. Given that line 10 of the first class sets the member variable sort to "none", that processSort() method should set the member variable fullSort to " ORDER BY lastUpdated DESC"

And if I use the class in the first sample, it does that.

HOWEVER

I have this custom tag:

Which the .jsp file invokes with this:

In other words, the exact same data is fed to the IrCollection bean. so I should get the same data, right?

Except I get this:

WHERE cotr = 'none' ORDER BY non DESC

so when Java calls it, it thinks "none" == "none"
but when jsp calls it, it thinks "none" != "none"