Profile
Achievement

hansamann's Recent Snippets
- All /
« Prev 1 Next »
Make sure Jackson core and Mappers are on classpath. So who can explain why userImage has a size of 7. I assume the byte-Array is encoded. What format?
0
852
posted 14 years ago by hansamann
Thanx to Guillaume Laforge, who provided this code snippet of Groovy code in a GSP. The snippet below is more or less the same, less the HTML. It will show all future evens and create a eventMap for each event.
0
1225
posted 16 years ago by hansamann
This (almost) one-liner cascades into all subdirectories and deletes the files first, then the directories. Makes deleting a directory really easy. This was originally posted by John Wilson into the Groovy user list.
2
1771
posted 18 years ago by hansamann