Problem:
Presentation tier changes occur often and are difficult to develop and maintain when business data access logic and presentation formatting logic are interwoven. This makes the system less flexible, less reusable, and generally less resilient to change. Inter mingling the business and systems logic with the view processing reduces modularity and also provides a poor separation of roles among web production and software development teams.
JSP pages consist of HTML and images used to present content to the user. If these pages need to display dynamic content stored in the model then you'd probably embedded some java code(using scripting elements) within these pages to display model data. Adding java code inside JSP pages kills the readability of the JSP program or pages and also gives complexity to programmers towards adding java code.
Solutions:
Implement View Helper design pattern, which says develop JSP programs of web application as java codeless JSP programs. For this we have to use only tags in JSP programs.
Presentation tier changes occur often and are difficult to develop and maintain when business data access logic and presentation formatting logic are interwoven. This makes the system less flexible, less reusable, and generally less resilient to change. Inter mingling the business and systems logic with the view processing reduces modularity and also provides a poor separation of roles among web production and software development teams.
JSP pages consist of HTML and images used to present content to the user. If these pages need to display dynamic content stored in the model then you'd probably embedded some java code(using scripting elements) within these pages to display model data. Adding java code inside JSP pages kills the readability of the JSP program or pages and also gives complexity to programmers towards adding java code.
Solutions:
Implement View Helper design pattern, which says develop JSP programs of web application as java codeless JSP programs. For this we have to use only tags in JSP programs.