⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userslistcontroller.java

📁 google的开源项目
💻 JAVA
字号:
package com.google.code.rsser.web.controller;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.ui.ModelMap;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RequestMethod;import com.google.code.rsser.service.UserService;@Controller@RequestMapping(value = "/admin/users/list.html")public class UsersListController {		@Autowired	protected UserService userService;		@RequestMapping(method = RequestMethod.GET)	public String indexAction(ModelMap model) {		model.addAttribute("users", userService.findAll());				return "usersList";	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -