Where do the AEM native pages like aem/start.html run from | Adobe Higher Education
Skip to main content
Level 2
November 19, 2022
해결됨

Where do the AEM native pages like aem/start.html run from

  • November 19, 2022
  • 1 답변
  • 1635 조회

Hi,

 

My question is a bit strange. Where does the code for the AEM application run from? For instance when I run localhost:4502/aem/start.html where is the aem/start.html code or what servlet does it trigger?

 

I am also trying to find the code for /crx/packmgr/service.jsp just to learn a bit more about the platform and how that works.

 

thanks

Sam

이 주제는 답변이 닫혔습니다.
최고의 답변: SantoshSai

Hi @samflyn ,

When you hit /aem/start.html  below are the servlets and script will execute in order of preference for method for given method:

  1. /libs/granite/ui/components/shell/page/page.jsp
  2. org.apache.sling.servlets.get.impl.DefaultGetServlet
  3. org.apache.sling.jcr.webdav.impl.servlets.SlingWebDavServlet

Similarly for /crx/packmgr/service.jsp 

  1. org.apache.sling.servlets.get.impl.DefaultGetServlet
  2. org.apache.sling.jcr.webdav.impl.servlets.SlingWebDavServlet

You can check all such process here http://localhost:4502/system/console/servletresolver

Additionally, You can also get some more details by installing x-ray mode where you can see which all scripts are processing by navigating to any AEM Touch UI pages like /sites.html, /assets.html, and /aem/tags in x-ray mode. For more details please visit article [0].

[0]: https://www.bounteous.com/insights/2020/12/12/inspecting-aem-admin-ui-components-ease

Hope that helps!

Regards,

Santosh

1 답변

SantoshSai
Community Advisor
Community Advisor
November 20, 2022

Hi @samflyn ,

When you hit /aem/start.html  below are the servlets and script will execute in order of preference for method for given method:

  1. /libs/granite/ui/components/shell/page/page.jsp
  2. org.apache.sling.servlets.get.impl.DefaultGetServlet
  3. org.apache.sling.jcr.webdav.impl.servlets.SlingWebDavServlet

Similarly for /crx/packmgr/service.jsp 

  1. org.apache.sling.servlets.get.impl.DefaultGetServlet
  2. org.apache.sling.jcr.webdav.impl.servlets.SlingWebDavServlet

You can check all such process here http://localhost:4502/system/console/servletresolver

Additionally, You can also get some more details by installing x-ray mode where you can see which all scripts are processing by navigating to any AEM Touch UI pages like /sites.html, /assets.html, and /aem/tags in x-ray mode. For more details please visit article [0].

[0]: https://www.bounteous.com/insights/2020/12/12/inspecting-aem-admin-ui-components-ease

Hope that helps!

Regards,

Santosh

Santosh Sai
SamFlyn작성자
Level 2
November 20, 2022

Mate this is some next-level type of help! Thank you ever so much for this detailed explanation!