author profile image

Matt Reid

Lead Software Architect. Java, Node.js and TypeScript enthusiast.

I have changed my post editor to use CLEditorrather than WMeditor which had some problems when editing a post. One feature which is obviosuly really important to me is to be able to include code in pre blocks. Luckily I found this plugin at github which makes it easy to include this...

I have been working on a Spring MVC web app that needed to accept a multi-part file upload (an excel file in this case). There are plenty of examples of handling file uploads with Spring but I couldn’t find a concrete example for a web app that was using a...

I recently found myself needing to embed a velocity template in a project that was being bundled with the web app that I was developing, this meant that the template file would only be accessible from inside a jar file. I found this blog Apache Velocity - How to load...

I am working on my latest codefish android app which utilises Jsch to send files over SFTP. I couldn’t find a complete example of creating an SFTP connection using a password so I thought I’d post one. Here is the code: ``` {.js name=”code”} import java.io.File; import java.util.Properties; import java.util.Vector;...

I was tasked with writing a quick report from an existing sql in a hibernate 3 and spring mvc application that I have been working on. I decided that the quickest way to get this done would be to create a new POJO and use the existing sql as a...