pegasus974

SpringMVC\web\WEB-INF\jsp\index.jsp

Jun 9th, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.02 KB | None | 0 0
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  4.    "http://www.w3.org/TR/html4/loose.dtd">
  5.  
  6. <html>
  7.     <head>
  8.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  9.         <title>Welcome to Spring Web MVC project</title>
  10.  
  11.               <spring:url value="/resources/css/index.css" var="mainCss" />
  12.               <link href="${mainCss}" rel="stylesheet" />
  13.  
  14.     </head>
  15.  
  16.     <body>${message}
  17.         <p>${message} Hello! This is the default welcome page for a Spring Web MVC project.</p>
  18.         <p><i>To display a different welcome page for this project, modify</i>
  19.             <tt>index.jsp</tt> <i>, or create your own welcome page then change
  20.                 the redirection in</i> <tt>redirect.jsp</tt> <i>to point to the new
  21.                 welcome page and also update the welcome-file setting in</i>
  22.             <tt>web.xml</tt>.</p>
  23.     </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment