Re: Using the JSTL expression language vs. using Java as a scripting language

2002-04-02 Thread Robin Martin
I'm all for the EL... I was impressed when I found that I could do this: instead of this: <% ListIterator userList = bean.getUserList(); while (userList.hasNext()) { User user = (User)userList.next(); %> <%=user.getUserId()%> <%

Using the JSTL expression language vs. using Java as a scripting language

2002-04-02 Thread Steve Bang
I'm encountering developers who question the value of the EL, since it often isn't really much different than using Java as a scripting language. Using Java as a scripting language in JSP pages is more akin to JavaScript, it seems, than it is to the EL. See the snippet below for an example of what