Two choices are available to users for welcome page

* For a jar deployment add classpath:static/index.html
(works via Spring MVC mapping)
* For a war the same thing works, but so does adding
index.html to src/main/webapp (works via container
default servlet)

[Fixes #54092261] [bs-252]
This commit is contained in:
Dave Syer
2013-07-29 10:56:42 +01:00
parent af798a2741
commit 4c359e1a4d
13 changed files with 247 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>Static</title>
<link rel="stylesheet" href="/css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
<div class="navbar">
<div class="navbar-inner">
<a class="brand"
href="https://github.com/SpringSource/spring-boot">
Spring Boot
</a>
<ul class="nav">
<li>
<a href="/">
Home
</a>
</li>
</ul>
</div>
</div>
<h1>Home</h1>
<div>
Some static content
</div>
</div>
</body>
</html>