web frameworks
Row level security using Spring and Hibernate
Submitted by Matt Fleming on Mon, 2008-01-14 10:22.
Recently I was tasked with adding data security to an existing application. The security rules were complex, users within the same user role were supposed to be able to view and edit data differently. I decided to implement this task with a permissions based system whereby users were grouped into roles and each role had a certain set of permissions. Here's how I implemented the solution using Spring and Hibernate...
- 2 comments
- Read more
- 3580 reads
Dynamic list binding in Spring MVC... what? why?
Submitted by Matt Fleming on Fri, 2007-09-07 21:33.
Previously, I wrote an article on how to achieve dynamic list binding in Spring MVC. Since I wrote that article, I have received emails and comments that ask (in a roundabout way) Why would I need to do this? When I wrote the other article I didn't explain the why; I just wrote the how. Here's why you need dynamic binding and the problems it is trying to solve.
- 14 comments
- Read more
- 4911 reads
How to easily dump POST values using JSTL
Submitted by Matt Fleming on Mon, 2006-10-23 14:39.How can I easily dump http POST parameters using JSTL? It is super easy...
Web frameworks.. what a crock
Submitted by Matt Fleming on Thu, 2006-09-28 23:56.I'm not trying to compete with Hani on this, but can we stop the absurdity and futility of debating web frameworks please? I mean does a framework really need to do anything other than help deal with a web request?
Local DTD catalog resolution woes
Submitted by Matt Fleming on Fri, 2006-09-22 13:27.I attempted to deploy my newly created webapp onto a machine that had no access to the public internet. When the app attempted to start up, I was greeted with a nice friendly error that occurred when the xml parser attempted to validate dtd in one of my configuration files...
Dynamic list binding in Spring MVC
Submitted by Matt Fleming on Fri, 2006-09-08 02:38.The Spring MVC documentation just isn't quite there. It is pretty basic, and doesn't really help with some common medium difficulty scenarios. The one I am documenting today is how to take a typical model (with lists of dependent objects), show it in a form, and get the graph back upon submission...
- 31 comments
- Read more
- 28311 reads
