You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/04/02 08:40:21 UTC

svn commit: r643759 - /incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp

Author: jsdelfino
Date: Tue Apr  1 23:40:20 2008
New Revision: 643759

URL: http://svn.apache.org/viewvc?rev=643759&view=rev
Log:
Fix for TUSCANY-2183. Fixed compile error in JSP on WebSphere.

Modified:
    incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp

Modified: incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp?rev=643759&r1=643758&r2=643759&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp (original)
+++ incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp Tue Apr  1 23:40:20 2008
@@ -40,9 +40,9 @@
 
 <table border="0">
 
-<% for (Item item: items) { %>
+<% for (int i = 0, n = items.length; i < n; i++) { %>
 
-    <tr><td><%=item.getName() %></td><td><%=item.getPrice() %></td></tr>
+    <tr><td><%=items[i].getName() %></td><td><%=items[i].getPrice() %></td></tr>
 
 <% } %>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org