Can I use a bean in a JSP that implements the Runnable interface or extends the Thread class?

Maxim Senin

Yes. According to JavaBeans specification, any Java clss can be a JavaBean as long as it has public scope, getter/setter methods for its properties and contains a public no-arg constructor.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.