You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Luiz Henrique Rossetti <lu...@gmail.com> on 2007/06/04 19:37:05 UTC
Interceptor - method init and destroy
When trying to execute the method "init" and "destroy", it´s doesn´t
execute.
Somebody has some example of the Interceptor class that implements "open"
and "close" jdbc connections?
Thanks
Re: Interceptor - method init and destroy
Posted by Luiz Henrique Rossetti <lu...@gmail.com>.
I solved this problem changing the order of the declaration of the
interceptors in struts.xml :D
On 6/4/07, Luiz Henrique Rossetti <lu...@gmail.com> wrote:
>
> Ok!!! Now, the prepare() method in the Preparable interface executes
> before the call of the method intercept()? I have some troubles in calling
> these methods. When my action classes implement the Preparable interface,
> the prepare() method is always called before intercept() method. How can I
> solve this problem?
>
> On 6/4/07, Al Sutton <al...@al-and-andrea.org.uk> wrote:
> >
> > Init and destroy are only called when the interceptor is initialised
> > when
> > the servlet engine starts, and destroyed when the servlet engine is
> > stopped.
> >
> > You should do all your jdbc connection work in the intercept method.
> >
> > -----Original Message-----
> > From: Luiz Henrique Rossetti [mailto:luiz.rossetti@gmail.com]
> > Sent: 04 June 2007 18:37
> > To: user@struts.apache.org
> > Subject: Interceptor - method init and destroy
> >
> > When trying to execute the method "init" and "destroy", it´s doesn´t
> > execute.
> > Somebody has some example of the Interceptor class that implements
> > "open"
> > and "close" jdbc connections?
> >
> > Thanks
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
Re: Interceptor - method init and destroy
Posted by Luiz Henrique Rossetti <lu...@gmail.com>.
Ok!!! Now, the prepare() method in the Preparable interface executes before
the call of the method intercept()? I have some troubles in calling these
methods. When my action classes implement the Preparable interface, the
prepare() method is always called before intercept() method. How can I solve
this problem?
On 6/4/07, Al Sutton <al...@al-and-andrea.org.uk> wrote:
>
> Init and destroy are only called when the interceptor is initialised when
> the servlet engine starts, and destroyed when the servlet engine is
> stopped.
>
> You should do all your jdbc connection work in the intercept method.
>
> -----Original Message-----
> From: Luiz Henrique Rossetti [mailto:luiz.rossetti@gmail.com]
> Sent: 04 June 2007 18:37
> To: user@struts.apache.org
> Subject: Interceptor - method init and destroy
>
> When trying to execute the method "init" and "destroy", it´s doesn´t
> execute.
> Somebody has some example of the Interceptor class that implements "open"
> and "close" jdbc connections?
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
RE: Interceptor - method init and destroy
Posted by Al Sutton <al...@al-and-andrea.org.uk>.
Init and destroy are only called when the interceptor is initialised when
the servlet engine starts, and destroyed when the servlet engine is stopped.
You should do all your jdbc connection work in the intercept method.
-----Original Message-----
From: Luiz Henrique Rossetti [mailto:luiz.rossetti@gmail.com]
Sent: 04 June 2007 18:37
To: user@struts.apache.org
Subject: Interceptor - method init and destroy
When trying to execute the method "init" and "destroy", it´s doesn´t
execute.
Somebody has some example of the Interceptor class that implements "open"
and "close" jdbc connections?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Outlook like notification window
Posted by "Zhang, Larry (L.)" <lz...@ford.com>.
(small window on the right bottom corner of the computer screen) - not
in the browser.
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com]
Sent: Monday, June 04, 2007 2:07 PM
To: Struts Users Mailing List
Subject: Re: Outlook like notification window
Do you mean a popup window in the browser?
musachy
On 6/4/07, Zhang, Larry (L.) <lz...@ford.com> wrote:
>
> I am looking for a J2EE or AJAX solution for Outlook like notification
> (small window on the right bottom corner of the computer screen), can
> some one point out a tutorial like information?
>
> Thanks.
>
> Larry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Outlook like notification window
Posted by Musachy Barroso <mu...@gmail.com>.
Do you mean a popup window in the browser?
musachy
On 6/4/07, Zhang, Larry (L.) <lz...@ford.com> wrote:
>
> I am looking for a J2EE or AJAX solution for Outlook like notification
> (small window on the right bottom corner of the computer screen), can
> some one point out a tutorial like information?
>
> Thanks.
>
> Larry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
RE: [OT] Outlook like notification window
Posted by Nathan Hook <ho...@hotmail.com>.
http://www.prototypejs.org/
We're going to use this framework for all our ajax/javascripting needs.
Seems to work on all operating systems.
_________________________________________________________________
PC Magazines 2007 editors choice for best Web mailaward-winning Windows
Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: [OT] Outlook like notification window
Posted by an...@wipro.com.
Yahoo Widget still are not supported on linux. Don't know how cm u callin dem multiplatform.
Supports only mac and windows
Animesh
http://inlovewithlinux.blogspot.com <http://inlovewithlinux.blogspot.com>
________________________________
From: Christopher Schultz [mailto:chris@christopherschultz.net]
Sent: Tue 6/5/2007 2:52 AM
To: Struts Users Mailing List
Subject: Re: [OT] Outlook like notification window
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil,
Neil Erdwien wrote:
> Yahoo's Widgets, http://widget.yahoo.com/, are cross-platform and look
> good to me. The development learning curve isn't too large either -- it
> is all mostly-standard JavaScript.
I had never heard of Yahoo! widgets... looks sort of interesting (XUL
runner, anyone?).
Please note that this still requires that the visitor installs something
on their computer. (I.e. it's not completely web-driven).
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org <http://enigmail.mozdev.org/>
iD8DBQFGZIKb9CaO5/Lv0PARAqeGAJ4rcThRHNUIEMUgRPvD7cKwsr/4uQCcDAWK
loecaRmw1v4SBFNE0jD52Ts=
=PG1K
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] Outlook like notification window
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil,
Neil Erdwien wrote:
> Yahoo's Widgets, http://widget.yahoo.com/, are cross-platform and look
> good to me. The development learning curve isn't too large either -- it
> is all mostly-standard JavaScript.
I had never heard of Yahoo! widgets... looks sort of interesting (XUL
runner, anyone?).
Please note that this still requires that the visitor installs something
on their computer. (I.e. it's not completely web-driven).
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZIKb9CaO5/Lv0PARAqeGAJ4rcThRHNUIEMUgRPvD7cKwsr/4uQCcDAWK
loecaRmw1v4SBFNE0jD52Ts=
=PG1K
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] Outlook like notification window
Posted by Neil Erdwien <ne...@k-state.edu>.
Yahoo's Widgets, http://widget.yahoo.com/, are cross-platform and look
good to me. The development learning curve isn't too large either -- it
is all mostly-standard JavaScript.
I built my first widget yesterday.
Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Larry,
>
> Zhang, Larry (L.) wrote:
>> I am looking for a J2EE or AJAX solution for Outlook like notification
>> (small window on the right bottom corner of the computer screen), can
>> some one point out a tutorial like information?
>
> Unless you can get the result you are looking for by doing an
> ugly-looking javascript alert that shows up in the lower-right-hand
> corner of the screen, you'll need to have some software actually running
> on the client's computer.
>
> You might be able to look at something like growl (for Mac OS X) or
> snarl (for win32) to do some of your dirty work for you, but you're
> still gonna have to get onto the user's machine.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGZGKY9CaO5/Lv0PARAkpoAJ4/c8Ab7mAbU8NkuahkBclYAflmsQCguHgM
> f7/0NgJ48rQqEQQOPANIXkk=
> =GiGO
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
--
Neil Erdwien, neil@k-state.edu, 785-532-6311
Associate Director / Web Technologies Manager
Computing and Telecommunications Services, Kansas State University
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] Outlook like notification window
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Larry,
Zhang, Larry (L.) wrote:
> I am looking for a J2EE or AJAX solution for Outlook like notification
> (small window on the right bottom corner of the computer screen), can
> some one point out a tutorial like information?
Unless you can get the result you are looking for by doing an
ugly-looking javascript alert that shows up in the lower-right-hand
corner of the screen, you'll need to have some software actually running
on the client's computer.
You might be able to look at something like growl (for Mac OS X) or
snarl (for win32) to do some of your dirty work for you, but you're
still gonna have to get onto the user's machine.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZGKY9CaO5/Lv0PARAkpoAJ4/c8Ab7mAbU8NkuahkBclYAflmsQCguHgM
f7/0NgJ48rQqEQQOPANIXkk=
=GiGO
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Outlook like notification window
Posted by "Zhang, Larry (L.)" <lz...@ford.com>.
I am looking for a J2EE or AJAX solution for Outlook like notification
(small window on the right bottom corner of the computer screen), can
some one point out a tutorial like information?
Thanks.
Larry
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org