Today we will create a Struts2 based application that uses Freemarker FTL as view instead of JSP. This would give you a good insight in Struts2 + Freemarker integration. The application is similar to previous tutorial’s User app, where a list of users will be displayed and we can add new user.
The application is very simple:
- There is a table that displays user info like firstname, lastname.
- New user can be added via Add User form.
Below is the wireframe of our final Freemarker based Struts2 app.
So lets get started.
Things We Need
Before we starts with our Struts2 + FreeMarker example, we will need few tools.
View original post 1,185 more words