Kevin Jones wrote:
>
> The difference bewtween
>
> <jsp:useBean
> <jsp:setProperty
> </jsp:useBean
>
> and
>
> </jsp:useBean ... />
> </jsp:setProperty />
>
> is that in the first case the setProperty only gets called when the bean is
> created, whereas in the second case the setProperty is always called.
That's what I've said, but I've also said that in "scope=request" case
it *does not* matter which one to use. That's because every time a
request comes to a JSP page, a new bean is created (scope="request").
Therefore, both are the same as long as we use "request" or "page"
scope. In the later, however, you save some extra typing:)
> Kevin Jones
Jacek Laskowski
===========================================================================
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