Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1873

Render freemarker templates correctly under portlet environment

    XMLWordPrintableJSON

Details

    • Patch

    Description

      FreemarkerTemplateEngine class uses ServletActionContext to get ServletContext object, which returns null under portlet environment. Get it from ServletContextHolderListener.

      Attachments

        1. WW-Freemarker.patch
          2 kB
          Oleg Gorobets

        Issue Links

          Activity

            People

              Unassigned Unassigned
              barabaka Oleg Gorobets
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: