Created
January 12, 2012 23:53
-
-
Save keesun/1603897 to your computer and use it in GitHub Desktop.
Restration of Spring DispatcherServlet with Servlet 3.0's annotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@WebServlet(urlPatterns = "/spring/*", | |
initParams = { | |
@WebInitParam(name = "contextConfigLocation", value = "classpath*:/spring.xml")}) | |
public class SpringServlet extends DispatcherServlet { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment