X-Git-Url: https://juplo.de/gitweb/?p=percentcodec;a=blobdiff_plain;f=examples%2Fspring%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Findex.jsp;fp=examples%2Fspring%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Findex.jsp;h=020f6ee700f5ea8da15376c996395d34107efa0a;hp=0000000000000000000000000000000000000000;hb=501896a15821c4c465e65a83343b56dd4b1f1cfd;hpb=c8feac7cf39da8ae79c8e4795eab20067e3c5115 diff --git a/examples/spring/src/main/webapp/WEB-INF/views/index.jsp b/examples/spring/src/main/webapp/WEB-INF/views/index.jsp new file mode 100644 index 00000000..020f6ee7 --- /dev/null +++ b/examples/spring/src/main/webapp/WEB-INF/views/index.jsp @@ -0,0 +1,32 @@ + + + +
+ +This page was delivered via SPRING!
+
+ 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.
+