Top "Sling" questions

Apache Sling is a web framework that uses Java Content Repository to store and manage content.

How to convert HTTP Request Body into JSON Object in Java

I am trying find a Java lib/api that will allow me to turn the contents of a HTTP Request …

java json http sling
CQ5: 403 Forbidden occurs when call a Post servlet

Hi I'm using this code to create a Post method for my CQ5 example application. package com.adobe.cq.sling; …

java servlets post aem sling
Getting OSGi services from a bundle in Sling/CQ

I am using Day CQ. I want to store some data in a SQL Server DB, using the connection pool …

servlets osgi connection-pooling sling aem
Determine runmode in Adobe CQ

How do I programmatically know which run-mode the instance is running? I created a custom tag that provides the config …

adobe osgi aem sling day-cq
How to invoke Sling Servlet that uses "resourceType" instead of "paths" in @SlingServlet annotation

How do I invoke a Sling Servlet that uses the "resourceType" property inside @SlingServlet? When I use"paths" I just …

servlets aem sling
AEM 6.1: Enable Rich text editor (RTE) plugins on Touch UI

for classic UI we can easily add the plugins inside rteplugins tag, Adobe built a great example on their Geometrix-Outdoor …

java aem sling sightly
What is the purpose behind building of Apache Sling, Felix, Jackrabbit projects

I am asking a very basic question here. Question is I am using Apache Sling , Apache Jackrabbit, Apache Felix in …

apache open-source jackrabbit apache-felix sling
ResourceResolverFactory getServiceResourceResolver throws Exception in AEM 6.1

I want to write some data to AEM, and the below code works fine for me in AEM 6.0 but not …

aem sling
How to configure OSGI in IntelliJ when it's handled by Maven

I'm an OSGI newb. I can really use any guidance I can get regarding IntelliJ IDEA / OSGI / Maven / Sling. So …

maven intellij-idea osgi sling
CQ access deep child node's property from current node (current component)

i am working on a carousel component called "tabbedcarousel", i need to iterate through it's children nodes to access an …

jsp components aem jcr sling