@Controller(value="indexAction") @RequestMapping(value="index") public class IndexAction extends Object
| Constructor and Description |
|---|
IndexAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
index(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
访问站点主页
|
@RequestMapping public String index(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException
req - HttpServletRequest对象res - HttpServletResponse 对象javax.servlet.ServletException - 异常处理IOException - 异常处理Copyright © 2020. All rights reserved.