In JSP, what are the advantages to using the <jsp:XXX> syntax to access
components rather than just accessing the components via the scripting
language?  IE, why would I do this:

<jsp:useBean id="whatever" class="who.cares">
...
<jsp:setProperty name="whatever" property="stuff" value=99>

instead of this:

who.cares whatever = new who.cares();
whatever.stuff = 99


The beans can have a scope besides page scope and can have members
corresponding to form fields set automatically.  Is there anything else?
I'm just trying to make sure I'm not missing something...

Thanks,
Dave

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

Reply via email to