> when u do
> <jsp:setProperty  name="myBean" property="*"/> ,
>
> it meant to say that , set all attributes .
> My doubt is , "set  the attribute values to what?".
> There is no value argument at all.

When you specify  property="*" then the parameters of the current
ServletRequest would be iterated through matching prarameter names with the
bean attributes names.
The values of the matched parameters would be used to set the corresponding
bean attributes.

i.e you dont have to explicitly write setProperty tag multiple times for
each bean attribute mapped to a request
parameter, you can do it in one shot.


Hope it clear things.

-Shiraz

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