from http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost
All interactive programs provide two basic functions: obtaining user input and displaying the results. Web applications implement this behavior using two HTTP methods: POST and GET respectively. This simple protocol gets broken when application returns web page in response to POST request. Peculiarities of POST method combined with idiosyncrasies of different [...]
from http://www.scottmurphy.info/spring_framework_annotation_based_controller_interceptors
In order to use interceptors with Annotation-based controllers, you need to configure the DefaultAnnotationHandlerMapping used by the Spring container.
<bean id=”annotationMapper” class=”org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping”> <property name=”interceptors”> <list> <ref bean=”myInterceptor1″/> <ref bean=”myInterceptor2″/> <ref bean=”myInterceptor3″/> </list> </property> </bean> URL Specific Interceptors for Annotation-based controllers
Unfortunately, using the DefaultAnnotationHandlerMapping for interceptors configures the interceptors for all defined [...]
from http://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/
As a frequent contributor to the Spring Framework user forums, I have noticed a common trend among people new to Spring MVC – they really don’t understand how to use JSTL and EL in their Spring-driven JSPs.
Although Spring MVC supports flexibility in choosing a view technology, in my [back [...]
-
Articles
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
-
Meta