December 2011
2 posts
Difference between / and /* in servlet mapping
/ means the servlet is the default servlet for the app
/* is used for path mapping and captures all requests to the app. In essence, every request goes through this servlet even requests for JSPs. JSP cannot be used with a servlet mapping of /*
Never use /* in the servlet mapping.
This thread by far has the best explanation...
Scalate is good but not usable
Scalate is an awesome template engine and i really mean that. Its written in Scala and just fabulous in the way that it supports multiple template languages like HAML(Scaml),Jade and Mustache over a common interface.
Its simple enough to understand and is really easy to write HTML templates using Jade/Scaml without using an IDE. The documentation is decent enough to convince you to use it on your...