PRJ301_-_SP_2025_-_Block_5_-_2_3871.webp
H

PRJ301_-_SP_2025_-_Block_5_-_2_3871.webp

Kizspy | Question: 23
(Choose 1 answer)
You are working on a JSP MVC application where multiple views need to display the same set of data.
Discuss how you would avoid code duplication and ensure a consistent data presentation across different
views.
A. Duplicate the data retrieval logic in each JSP page.
B. Implement a shared DataProvider class in the Model.
C. Use global variables within the JSP pages to store and share data.
D. Embed the data retrieval logic within each individual JSP page.

Thông tin

Category
PRJ301
Thêm bởi
healthy_man
Ngày thêm
Lượt xem
3,749
Lượt bình luận
12
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom