Based on the Model-View-Controller (MVC) pattern, Spring MVC helps you build web-based applications that are flexible and decoupled from the underlying view technologies.
1
vote
1answer
56 views
1
vote
0answers
22 views
3
votes
1answer
49 views
Spring controller code to group information by date
I'm using the Spring Framework in my web application and I'm curious as to whether my controller implementations are good or not.
I've used many Hashmaps to make a object that serves my purpose for ...
0
votes
0answers
33 views
Spring: Redirecting to a REST url on click
I have a page where a user can click on a link and send them to another url where the path variable is the user name.
So example: user name is bmarkham. bmarkham is on www.website.com/welcome. ...
0
votes
1answer
91 views
Detect that a class is marked by a custom annotation in Spring
I would like to enable application behaviour based on the presence of a custom annotation that marks the configuration class (normally named something like ...
4
votes
0answers
217 views
Implement two level caching using spring's cache abstraction Cache and CacheManager
Details about spring's caching framework are here. When I was reading this link, I thought the composite cache mentioned there was one that used levels of caching based on the order given to the ...
0
votes
0answers
102 views
Exception-logging handler for the DAO layer
I'm a bit clueless on how to handle exceptions. What I've think so far is to use a custom error page for the users so they can't see the full exception for security reasons and log the exception in a ...
6
votes
1answer
482 views
Preventing XSS attacks in a Spring MVC application controller
One of the URL in my application is vulnerable to XSS attack, so I am handling it in the below way.
I created a util class:
...