部署AdminLTE
什么是AdminLTE?
AdminLTE是一个完全响应管理模板,内置很多流行的界面,你在写好的界面上做增减就好了,基于bootstrap和jQuery。
准备工作
下载:https://adminlte.io/
开始
复制release目录内的css、img、pages、plugins文件夹到项目webapp根目录下
添加依赖
<!--web基础包 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>