Roller Login Enhancement
I added an enhancement to roller today. Basically, it's a trick I learned with form-based authentication. Rather than having 2 different pages (one for the login, and one for the login failure), you use one page and specify a paramter, such as /login.jsp?error=true for the <form-error-page> value. This makes it easy to add a error message at the top with something like this:
<div class="error"> <logic:present parameter="error"> <bean:message key="error.password.mismatch"/> </logic:present> </div>