← Back to feed
Renewal·서른의 생활코딩

JSP Key Concepts 2

NS
normalstory
cover image

JSP Key Concepts 2


Model 1: JSP handles web browser requests, communicates with beans for processing,

           then delivers results to the client.


Model 2: A controller inserts itself between the client and JSP,

           the controller (servlet) handles web browser requests, communicates with beans for processing,

           then selects and responds with the appropriate JSP.


MVC?

           Model: data creation, storage, processing

           View: composes the screen to show results and receive input

           Controller (servlet): input and flow control


Classification by implementation:

           C servlet: sends and receives requests via doGet, doPost

           M DAO: sends queries to DB, receives results, and exchanges/processes beans

           V JSP: displays the received beans on screen

This English version was translated by Claude.

친절한 찰쓰씨
Written by
친절한 찰쓰씨

Pleasant Charles — UI/UX researcher at AIT. Keeping notes on design, planning, and slow days here since 2010.