1.1 --- a/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Fri May 22 17:19:09 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Fri May 22 17:26:27 2020 +0200 1.3 @@ -228,20 +228,17 @@ 1.4 } 1.5 1.6 /** 1.7 - * Sets the name of the dynamic fragment. 1.8 + * Sets the name of the content page. 1.9 * <p> 1.10 * It is sufficient to specify the name without any extension. The extension 1.11 * is added automatically if not specified. 1.12 - * <p> 1.13 - * The fragment must be located in the dynamic fragments folder. 1.14 * 1.15 - * @param req the servlet request object 1.16 - * @param fragmentName the name of the fragment 1.17 - * @see Constants#DYN_FRAGMENT_PATH_PREFIX 1.18 - * @see Constants#REQ_ATTR_FRAGMENT 1.19 + * @param req the servlet request object 1.20 + * @param pageName the name of the content page 1.21 + * @see Constants#REQ_ATTR_CONTENT_PAGE 1.22 */ 1.23 - protected void setDynamicFragment(HttpServletRequest req, String fragmentName) { 1.24 - req.setAttribute(Constants.REQ_ATTR_FRAGMENT, Functions.dynFragmentPath(fragmentName)); 1.25 + protected void setContentPage(HttpServletRequest req, String pageName) { 1.26 + req.setAttribute(Constants.REQ_ATTR_CONTENT_PAGE, Functions.jspPath(pageName)); 1.27 } 1.28 1.29 /**