Skip to main content

JSP

Learn JSP (View Technologies, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes JSP (Jakarta Server Pages) is a template technology where HTML mixes with tags and Expression Language; the container compiles each page into a servlet on first use. In Spring MVC the controller returns a logical name, InternalResourceViewResolver maps it to the JSP, and the JSP renders the model. Location : keep pages under /WEB-INF/views/ so they are only reachable through controllers.

More lessons in View Technologies