Struts makes you no longer care about how Servlet is placed, and FreeMarker makes you easy to make the arrangement on the page, and the parameters between the two are not issued. It is simply a natural match. The associated struts comes with the TLD tags of HTML, Logic, NESTED, Bean, Tiles, Template, and features can meet most of the cases. However, these labels are very inconvenient and flexible, and will add a lot of unnecessary content to simple HTM code. Most importantly, the syntax provided by HTML.TLD tags is very large and commonly used in hypertext syntax habits, allowing developers to waste time. FreeMarker provides features that Struts's label library can provide, and compared to other templates, there is a powerful "program" feature. If you don't have Struts, FreeMarker can also be a good combination with other frameworks because it is to do the decoupling of the front page and the background program. On the combination of the Struts project, you can use almost no need to modify the original ACTION or ActionForm code, you can directly use the FreeMarker Template FTL file to enter. You don't need to import new packages in the original action. This is also discovered after I have grown through a piece of twist road. Just configure FreeMarker in Web.xml, copy the corresponding FreeMarker.jar file to the project lib. Modify Struts-config.xml, change the original