Lukas Bradley wrote:
Many tags use ${ } to embed parsable or variable data within tags.  What is
the difference between $ { } and  <%= %> ?

$(...} is for an Expression Language (EL) expression, a simple language defined by the JSTL 1.0 specification and now being incorporated in the JSP 2.0 specification. You can use EL expressions for tag attribute values in the JSTL 1.0 EL tag libraries in a JSP 1.2 container, and for any tag library as well as in template text in a JSP 2.0 container.

<%= ... %> is a Java expression, and can be used for any attribute value
as well as in template text with any version of the JSP spec.

Hans
--
Hans Bergsten                                <[EMAIL PROTECTED]>
Gefion Software                       <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <http://TheJSPBook.com/>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to