|  |  |  | 
|---|
|  |  |  | @RequestMapping("/") | 
|---|
|  |  |  | public void index(HttpServletResponse response) { | 
|---|
|  |  |  | try{ | 
|---|
|  |  |  | response.sendRedirect(contextPath+"/views/index1.html"); | 
|---|
|  |  |  | response.sendRedirect(contextPath+"/views/index.html"); | 
|---|
|  |  |  | } catch (Exception ex){ | 
|---|
|  |  |  | ex.printStackTrace(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | public void login(HttpServletResponse response) { | 
|---|
|  |  |  | try{ | 
|---|
|  |  |  | response.sendRedirect(contextPath+"/views/login.html"); | 
|---|
|  |  |  | } catch (Exception ex){ | 
|---|
|  |  |  | ex.printStackTrace(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping("/control") | 
|---|
|  |  |  | public void control(HttpServletResponse response) { | 
|---|
|  |  |  | try{ | 
|---|
|  |  |  | response.sendRedirect(contextPath+"/views/control.html"); | 
|---|
|  |  |  | } catch (Exception ex){ | 
|---|
|  |  |  | ex.printStackTrace(); | 
|---|
|  |  |  | } | 
|---|