We use:
<jsp:useBean id="referenceHandle" class="com.infogain.www.FirstJavaBeanNotEJB"
scope="page">
<jsp:setProperty name="referenceHandle" property="*"/>
</jsp:useBean>
Make sure that all the attributes of FirstJavaBeanNotEJB match the name and case of
the form elements that were posted to the JSP.
Also make sure that there is a no-arg constructor in FirstJavaBeanNotEJB and that
FirstJavaBeanNotEJB implements Serializable.
This will set the value of the bean's instance variable to those from the request.
Abraham Kang
-----Original Message-----
From: Igor Israilevich [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, October 20, 1999 6:33 AM
To: [EMAIL PROTECTED]
Subject: jsp:setProperty
All,
I want to understand when jsp:setProperty tag from new spec identic
to SETFROMREQUEST and when identic to SETONCREATE from 0.92 spec
=================================================================
Igor Israilevich
Phone : 02-5483293
Email : [EMAIL PROTECTED]
===========================================================================
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
===========================================================================
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