since ‎18-07-2018
‎10-12-2019
meghs_arora
Level 1
Re: internal redirect in AEM 6.2
Avatar

raj_mandalapu

MVP

raj_mandalapu
- Adobe Experience Manager
Check below code :You need to call this in body.html of your pageimport java.io.IOException;import javax.servlet.http.HttpServletResponse;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.resource.ValueMap;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import com.adobe.cq.sightly.SightlyWCMMode;import com.adobe.cq.sightly.WCMUsePojo;import com.day.cq.wcm.api.Page;public class RedirectHandler extends WCMUsePojo { private static final Logger LOG = LoggerFacto...

Views

1.4K

Like

1

Replies

0