|
From: <jue...@we...> - 2004-09-25 13:42:52
|
Following a suggestion in the follwing JIRA issue =20 http://opensource.atlassian.com/projects/spring/browse/SPR-350 = <http://opensource.atlassian.com/projects/spring/browse/SPR-350>=20 =20 I've implemented a ServletWrappingController that simply forwards to a = named servlet within Spring's dispatching infrastructure. The advantage = is that all requests to that target servlet will go through the = configured HandlerInterceptors etc. This is particularly useful to apply = OpenSessionInViewInterceptor to Struts actions in a Servlet 2.2 = environment (where OpenSessionInViewFilter won't work). =20 I'll include this in 1.1.1, as it's pretty trivial and completely = independent from both Struts and Hibernate. The only thing I'm not sure = about is the class name: It's essentially a controller that wraps a = servlet, therefore the current name "ServletWrappingController". If = anyone has a better name, please tell me at your earliest convenience = :-) =20 Juergen |