java
-
Recursion in a JSP
I had to figure out how to iterate through a collection with potentially infinite children in a JSP, so I thought I’d make a protip for future reference. Turns out, it was actually pretty easy.
I had to figure out how to iterate through a collection with potentially infinite children in a JSP, so I thought I’d make a protip for future reference. Turns out, it was actually pretty easy.