cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frans Thamura" <fth4m...@yahoo.com>
Subject Re: init() and destroy() in XSP
Date Tue, 08 May 2001 02:17:07 GMT
Donald,

What happen if  I try to open connection to a bean, and after that I want to
destroy that bean??? This will make memory problem one day???

I try to create a bean that connect to database, the error sharing violation
oftenly show up...but if I refresh it, the error disappear..

Would you explain to me the mechanism of this??



Frans


----- Original Message -----
From: "Donald Ball" <balld@webslingerZ.com>
To: <cocoon-users@xml.apache.org>
Sent: Friday, May 04, 2001 7:40 PM
Subject: Re: init() and destroy() in XSP


> On Fri, 4 May 2001, Polley Christopher W wrote:
>
> > I found XSPPage.init(parameters), which I can override to do the
> > initialization, but I am unclear on the tail end of the xsp life cycle.
How
> > & when is it destroyed (in Cocoon 1.8.1) ?  How is this type of thing
done
> > in XSP?
>
> there isn't a destroy method in xsp.
>
> > I suppose that in this case, in which I am only doing JDBC stuff, I
could
> > try the sql taglib, but am unclear on how that would be done.  Can
> > <?cocoon-process type="sql"?> safely be placed ahead of <?cocoon-process
> > type="xsp"?>? What would the resultant xsp-servlet look like?
>
> <?cocoon-process type="sql"?> doesn't invoke the sql taglib, it invokes
> the sql processor which is old and hoary and deprecated. you want to use
> the esql logicsheet.
>
> - donald
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message