Hi Somchai!

I don't see a reason why extending from Thread shouldn't be possible.
But don't expect any magic (starting/stopping) from jsp engine.
You have to do that for your self. I think the Session
has a change notifier you can add a listener too.

>Dear sir,
>    Can anyone told me, Can I extend my bean from Thread and use it in JSP?
>
>public class MyBean extends Thread {
>....
>}
>
>    What happen, if I write JSP page like this?
><jsp:usebean id=test scope=session class=MyBean/>
>    Is MyBean thread stop when user close the session?
>
>Thank you,
>Somchai Limsiroratana
>[EMAIL PROTECTED]
>Agric. Process Engineering and Technology Lab.
>Kyoto University, Kyoto, 606 JAPAN
>Tel , Fax : 81-75-7536171
>Tel(home) : 81-75-7038169
>ICQ# 29410074
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST"
.
>FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html

Ciao,
        Carsten Heyl

  Carsten Heyl                          [EMAIL PROTECTED]
  NADS - Solutions on Nets              http://www.nads.de/
  NADS GmbH                             http://www.pixelboxx.de/
  Hildebrandtstr. 4E                    Tel.: +49 211 933 02-90
D-40215 Duesseldorf                     Fax.: +49 211 933 02-93

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to