Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Why do sane developers use Spring MVC?. Parent comment
Easy. You don't event need empty one, just in web.xml:
<servlet>
<servlet-name>spring-dispatcher</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <load-on-startup>1</load-on-startup> <init-param> <param-name>contextClass</param-name> <param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value> </init-param> <init-param> <param-name>contextConfigLocation</param-name> <param-value>com.mycompany.MyConfig</param-value> <!-- annotated with @Configuration --> </init-param>
There are no comments on this comment yet.
Easy. You don't event need empty one, just in web.xml:
<servlet>
</servlet>