Hi all,
Is it possible to do the Constructor Overloading in A Java Bean?
If yes, then which constructor'll be called when we use this Java Bean in a
Jsp Page using <jsp:useBean> tag?
For ex. lets take the following bean.....
public class testbean
{
public testbean()
{
System.out.println("Hello World");
}
public testbean(String s)
{
System.out.println(s);
}
}
With Regards,
Pranav Kumar
Software Engineer
Informica India Pvt. ltd.
Noida,India
Phone: -91-118-4514702
www.informica.com
===========================================================================
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