I think your asking this in relation to the jsp bean tags. In that case you
need to have a default no-args constructor, and then create getter/setter
methods to use with the setProperty/getProperty tags, for example:

foo.setJspSpecificationUrl("http://java.sun.com/products/jsp/download.html")
;

If you are not using the jsp bean tags, then you can create any constructor
that you want.

;)
Scott

-----Original Message-----
From: Jens-Uwe Eilers [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 2:04 PM
To: [EMAIL PROTECTED]
Subject: newby: instance with parameter


I'm new in JSP. I want create an instance from my class. Can i create an
instance from the class with parameter? Or had I to create a parameterless
constructor from the class?
Jens-Uwe

===========================================================================
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

===========================================================================
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

Reply via email to