on 2/25/01 2:31 PM, "Ethan Adams" <[EMAIL PROTECTED]> wrote:
> I need to close a connection to an imap server after the page has been
> displayed. I can't seem to find a method in the VelocityScreen class that
> gets called once the page is done being built.
>
> My current solution is to call a .close() method at the bottom of my *.vm
> template. However, I would rather keep that functionality in the Screen
> class.
>
> Any suggestions?
try
{
// do work here
}
finally
{
close()
}
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/> && <http://java.apache.org/turbine/>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]