View Helper Pattern



View Helper Pattern separates the static view such as JSPs from the processing of the business model data. 
Frameworks like Spring and Struts provide their own tag libraries to encapsulate processing logic in a helper instead of a view such as JSP files.
For example, 
  • Struts framework provides Tag libraries that allow you to build the view part of the MVC without embedding Java code directly within your application JSPs.
  • Spring Framework provides some tags for form bindings, spring security tabs, evaluating errors, setting themes and outputting internationalized messages.

Table of contents 

Problem
Forces
Solution
Explanation
Structure - Class Diagram, Sequence Diagram
Participants and Responsibilities
Implementation
Consequences
Applicability
Real world examples
References

Read above topics on http://www.javaguides.net/2018/08/view-helper-design-pattern-in-java.html

Comments