PRJ301_-_SU_2024_-_Block_5_-_FE_2680.webp
free_spirit

PRJ301_-_SU_2024_-_Block_5_-_FE_2680.webp

Kizspy | Question: 27 (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.
  • Like
Reactions: trantrungdung45

Thông tin

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

Share this media

Back
Bên trên Bottom