Category Archives: Java

How to map a Servlet to only the front page / root path of your webapplication

This post is about Java Web Servlets and will hopefully save you some hours of debugging. Prelude Rant I was naive enough to think that the reasonable URL pattern “/” would match only the root path of the application. Guess … Read more

Posted in Java | 1 Comment

Super-simple way in Java with Netbeans to build all dependant libraries and subprojects with distribution

I think I finally figured out a simple and elegant way to build dependant libraries directly with the distribution and kiss that NoClassDefFound error goodbye. I also have a similar solution for Java Web Application projects. What you need is: … Read more

Posted in Java, Netbeans | Leave a comment

Compiling Mustache.java jar on Windows

I’m a Java rookie. I did a basic Java course in college back in the day (even got an A!) but I’m totally clueless now. I finally figured out how to compile Mustacha.java into a working jar (running jar out-of-the-box … Read more

Posted in Java, Maven, Mustache | Leave a comment