
JavaWeb - Session08
Authored by haibt@rikkei.edu.vn rikkei
Information Technology (IT)
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mục đích của annotation @Service là gì?
Đánh dấu lớp DAO xử lý tương tác với CSDL
Đánh dấu lớp xử lý logic nghiệp vụ
Xử lý giao diện
Định nghĩa Lớp tiếp nhận và xử lý Request
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
@Autowired dùng để làm gì?
Tạo bean
Mapping URL
Tiêm phụ thuộc tự động
Lấy tham số từ Request
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Annotation nào có thể xử lý ánh xạ cả 2 loại HTTP method GET và POST?
@Mapping
@RequestMapping
@PostMapping
@GetMapping
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thuộc tính required = false trong chú thích @RequestParam có tác dụng gì?
Bắt buộc phải gửi tham số lên request
Tham số không bắt buộc truyền
Thiết lập giá tị mặc định cho tham số là null
Bắt buộc phải gửi tham số theo phương thức Post
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Đối tượng có thể dùng để truyền dữ liệu từ Controller ra View?
Model
ModelMap
ModelAndView
ModelView
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ModelMap kế thừa từ lớp nào?
ConcurrentMap
LinkedHashMap
TreeMap
HashMap
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ModelAndView là sự kết hợp giữa các thành phần nào?
Dữ liệu + cấu hình
Model + View
Request + Response
View + URL
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?