Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lets say I have a javascript function that uses DWR and gets a List<String> called strings
- Is there a way to to like:
- <c:forEach var="stringItem" items="${strings}">
- ....something....
- </c:forEach>
- DWRXyzService.someMethod(args, function(result) {
- for (var i = 0; i < result.strings.length; ++i) {
- var stringItem = result.string[i];
- ...something...
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment