X-Git-Url: https://juplo.de/gitweb/?p=percentcodec;a=blobdiff_plain;f=accelerator-examples%2Fspring%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Findex.jsp;fp=accelerator-examples%2Fspring%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Findex.jsp;h=a329acd384d35acee71a34ef8262e9340d87563c;hp=0000000000000000000000000000000000000000;hb=a6e0e65cce68acb20abc6ca935471611a740c342;hpb=1d395c6002486d485bde0d5dc713886d70bd3f8a diff --git a/accelerator-examples/spring/src/main/webapp/WEB-INF/views/index.jsp b/accelerator-examples/spring/src/main/webapp/WEB-INF/views/index.jsp new file mode 100644 index 00000000..a329acd3 --- /dev/null +++ b/accelerator-examples/spring/src/main/webapp/WEB-INF/views/index.jsp @@ -0,0 +1,35 @@ + + + +
+ +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.
+