You can just stash the recordset in the application scope, much like
you would in CF.
<c:set var="myRecordSet" scope="application" value="${recordset}" />
or if you're not using JSTL
<% application.setAttribute("myRecordSet", recordset) %>
cheers,
barneyb
On Mon, 3 Jan 2005 17:43:57 -0000, Ciliotta, Mario
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Sorry for asking a JSP question here but I have not been able to find a
> mailing as good as CFTALK for Java/JSP issues.
>
> I am in the process of converting a CF application over to JSP running under
> WebLogic as practice to see how long it takes to do the same coding vs. using
> CFMX.
>
> In my CF application, I cache my queries since the data really changes and to
> handle this I have a scheduled job that runs to flush and update the cached
> queries if there are any changes. Is there a way to cache the query results
> in a JSP page? I have to have the page requery the database every time
> someone goes to page to look up an item. Basically the items only change once
> a year, if that.
>
> Also does anyone know of a good JSP/JAVA equivalent of CFTALK.
>
> Thanks
> Mario
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189198
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54