This is an example of using FreeMarker templates instead of JSP with Struts 1.1. You can find more information about FreeMarker and "Model 2" applications in the FreeMarker Manual.
Before deploying this Web application, you must copy the .jar files that are commonly required for Struts applications (sruts.jar, common-...jar-s)
into the WEB-INF/lib
directory manually, or the Web application will not start. You may find these files in the lib
directory of the Struts distribution, or in the WEB-INF/lib
directory of examples comes with
the Struts distribution.
(The FreeMarker distribution does not contain these files since they are too big.)
To try this example you should visit
http://yourServer/thisWebApp/index.do
Note: To simplify the example, the guest-book entries are not stored persistently. If you reload the servlet all guest-book entry will lose.