Veena wrote:
>
> Bean can have a constuctor with no args...
>
It MUST have a constructor with no args. It may however have various
constructors with lots of different args. These however will never be
called when the bean is created by the <jsp:usebean directive. However
it is competely legal to use the same class in the same page creating a
new instance using one of the constructors with arguments.
sven
--
======================================================================================
Sven van 't Veer http://www.cachoeiro.net
Java Developer [EMAIL PROTECTED]
_/_
The answer / \
to the ultimate question nnn|.
.|nnn 42
=========================================U============================================
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets