tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r643759 - /incubator/tuscany/java/sca/tutorial/catalog-webapp/webapp/catalog.jsp
Date Wed, 02 Apr 2008 06:40:21 GMT
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


Mime
View raw message