I’ve been spending the last week hacking around in Java. One of the components of the product I develop is the open source OpenNMS. As I’ve mentioned before it’s been lightly modified by myself to blend in better with our code mainly in the JSP department for it’s web interface. Last week I discovered I [...]
Context, Attributes and JSP
One thing that is rapidly becoming clear is a lot of different concepts get mixed together when you start playing with JSP. On the face of it it’s a simple model, your JSP code get built into a Java class (of type servlet) which is a combination on normal Java code and JSP mark up [...]
JSP tags
Arrggh. I’ve just wasted the best part of half a day scratching my head as to why I was unable to iterate through a Java HashMap in a JSP page: <c:forEach var=”entry” items=”${model.jvmInfo}” varStatus=”status”> <tr> <td> ${entry.key} </td> <td> ${entry.value} </td> </tr> </c:forEach> It would of been immediately clear had I looked at the resulting [...]
Too much perl, the irony
I got my current job based on my experience with C/C++ and GTK. So far most of the code I’ve been writing has been perl and Java. Some times I think I’m writing too much perl: # Quick and dirty match for IP (but without the tedious address # verification) my $ip_match=qr#([\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}\.[\d]{1,3})#i; The tedious address [...]
Open Source Ripping
So it came to pass I was chatting to Andy last night and I noticed he was typing the CD sleeve details for the CD being ripped. I was surprised as thanks to the magic of FreeDB every CD I’ve ripped in the last few years has automagically had its details filled in and tagged*. [...]