A quick question for those of you in the know...

Are there rules or guidelines for when one should use:

    <jsp:getProperty name="beanname" property="propname" />

versus when one should use:

    <%= beanname.getPropname() %>

Personally, I think the latter is *much* cleaner inside a tag like the
following as you avoid the ugly sets of nested quotes (that mess up most
html validators).

<INPUT TYPE="..." NAME="X" VALUE="<%= beanname.getPropname() %>">

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