Dashboard > Demonstration Space > Freemarker with Servlets
Demonstration Space Log In   View a printable version of the current page.
Freemarker with Servlets
Added by Anonymous, last edited by Anonymous on Jul 18, 2005

http://afsweb.ms.com/ms/dist/msjava/PROJ/freemarker/2.3/docs/docs/pgui_misc_servlet.html

The link above gives information on how to change your web.xml to handle ftl files. However, it doesn't give any example servlets using that changed xml. The example servlet files in the distribution are associated with much less generic web.xml files, and are not helpful in showing how the servlet should be written so that it works correctly with the given web.xml file and the templates.

Thus, I think it would be very useful for someone to add example servlet code to this wiki (and later to the docs), that would work with the example template code linked to above.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.2 Build:#214 Jun 30, 2005) - Bug/feature request - Contact Administrators