Friday 15 July 2011

jsp - How to specify `dispatcherTypes` in Spring 3? -


How to specify dispatcher type in Spring 3

I'm trying Change the old JSP-servlet based application for Spring 3 While converting I came to this filter that I converted into an interceptor but I'm not sure how to specify <3> dispatcherTypes = {DispatcherType.FORWARD} in Spring 3.

Please guide.

EventBuilder.java

@WebFilter (filterName = "EventBuilder", urlPatterns = {"* .jsp"}, Dispatcher type = { DispatcherType} Forward}} Public Class Eventbuilder Tools Filter {....}

Sender-Servlet.xml

  Lt; Mvc: interceptor & gt; & Lt; MVC: Interceptor & gt; & Lt; Mvc: mapping path = "* .jsp" /> & Lt; Bean class = "com.istore.web.filters.EventBuilder" & gt; & Lt; / Bean & gt; & Lt; / MVC: Interceptor & gt; & Lt; / MVC: Interceptor & gt;  


No comments:

Post a Comment