diff -r 672b5003cafe -r 91d1fc2a3a14 src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java --- a/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Fri May 22 17:19:09 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Fri May 22 17:26:27 2020 +0200 @@ -228,20 +228,17 @@ } /** - * Sets the name of the dynamic fragment. + * Sets the name of the content page. *

* It is sufficient to specify the name without any extension. The extension * is added automatically if not specified. - *

- * The fragment must be located in the dynamic fragments folder. * - * @param req the servlet request object - * @param fragmentName the name of the fragment - * @see Constants#DYN_FRAGMENT_PATH_PREFIX - * @see Constants#REQ_ATTR_FRAGMENT + * @param req the servlet request object + * @param pageName the name of the content page + * @see Constants#REQ_ATTR_CONTENT_PAGE */ - protected void setDynamicFragment(HttpServletRequest req, String fragmentName) { - req.setAttribute(Constants.REQ_ATTR_FRAGMENT, Functions.dynFragmentPath(fragmentName)); + protected void setContentPage(HttpServletRequest req, String pageName) { + req.setAttribute(Constants.REQ_ATTR_CONTENT_PAGE, Functions.jspPath(pageName)); } /**