Using Freemarker template for Creating Custom UI
- FreeMarker is a
template engine; a generic tool to generate text output
Eg. Creating Password Field Using FTL
NOTE : Store your FTL File in public-html template finnoneproIOC (Inversion of Control) and DI (Dependency Injection)
- IOC and DI are programming design patterns, which are used to reduce coupling in programming.
- It follow the Following Principle:
- You do not need to create your objects.
- You need to only describe how they should be created. (This think is done by ObjectFactory)
To enable the IOC in Struts
Using an Enabler InterfaceEg. SessionAware, ApplicationAware etc.LoginAction.jsp file


