Hi ,
i am seeing the following error while while including jsp in another jsp (jsp:include).
error log
25.08.2017 12:57:14.781 *WARN* [127.0.0.1 [1503646034778] GET /content/aircanada/ca/en/email.demo.html HTTP/1.1] org.apache.sling.servlets.get.impl.RedirectServlet RedirectServlet: Servlet is included, not redirecting
Thanks
Srinu
Views
Replies
Total Likes
If it is an include before compile time you can use the same as is used for the global.jsp:<%@include file="/libs/foundation/global.jsp"%>
If you are including AEM components or just another JSP with its own context, you either use cq:include or sling:include, the latter allows additional parameters and lets you override some request scope variables:
<cq:include path="par" resourceType="foundation/components/parsys" />
or
<cq:include script="body.jsp" />
A documentation regarding the tag libraries in AEM can be found here: Tag Libraries
~kautuk
Views
Replies
Total Likes
with cq:include sightly expression language is conflicting with freemarker expression which starts with '${}'
Views
Replies
Total Likes
with cq:include sightly expression language is conflicting with freemarker expression which starts with '${}'
Views
Replies
Total Likes