Can someone please explain when the "%= ...%" syntax is used instead of "<%= ... %>" for JSP attribute values? In the Manning book, I see that both cases are used, but I don't understand when one is used over the other. Thanks, -Henry
The former syntax us valid when you are using XML syntax only to represent a JSP file. Later can be used in both XML and non-XML reprn. of JSP.
Joined: Feb 14, 2003
Thanks for the information. I now understand that the "%=...%" syntax is only valid when the JSP page is using XML syntax, and the "<%=...%>" is used when the JSP page is using standard JSP syntax. Thanks, -Henry