On Tuesday, April 1, 2003, at 04:39 AM, julien viet wrote:

I dont't want to reinvent a scripting language, but JSP are
not adapted to nukes at all. I think the nicest feature of
JSP is the possibility to embed true java code whithin text :

<TABLE><TR>
<% for (int i = 0;i < 5;i++) { %>
<TD><%= i %></TD>
<% } %>
</TR>
</TABLE>

I love scriptlets also, because they make the page code to easy read and understand. Even the most entry level html writer can write the basic java code, and it sure beats the following


<table>
   <c:forEach var="product" items="${products}">
      <tr>
              <td><c:out value="${product.name}"/></td>
              <td><c:out value="${product.price}"/></td>
      </tr>
   </c:forEach>
</table>


See what I mean. Tags are just overhead when you can use scriptlets.


-dain

BTW, yes that was sarcasm.



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to