Simple Spring-MVC Examples

This page was delivered via SPRING!

Note:

Since the org.springframework.web.servlet.DispatcherServlet ist configured to handle all *.html-requests, the path /index.html points to a view.

Therefore, this page must be stored under /WEB-INF/views/index.jsp in order to be served as /index.html

Additionatly, a file /index.jsp in the root-directory of the webappliction is needed, to forward unqualified requests (like http://HOSTNAME/) to the welcome-page served by the Spring-Dispatcher-Servlet.