Kevin Jones wrote:
>
> The JSP page can access the form params any number of ways but typically
> through
>
> <% myParam = request.getParameter("ParamName" %>
>
> or more likely
>
> <jps:useBean id="FormHandler" class="xyz" scope="request" >
> <jsp:setProperty name="formHandler" property="*" /?
> </jsp:useBean>
As you showed the above example with <%%>, I thought about the bottom
one, but with one little difference. I'd rather write
<jsp:useBean id="FormHandler" class="xyz" scope="request" />
<jsp:setProperty name="formHandler" property="*" />
Note the '/'s at the end of tags.
I think in this particular situation the bean will live only during a
request, so it doesn't matter where <jsp:setProperty> is. Am I right ?
<
>
> 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