I have a question more on the ground on understanding why it is done so.So I have a servlet in my project on which when I am using @Reference is throws me error "The annotation @Reference is disallowed for this location". But a similar servlet in a new project is not throwing the error. For both of ...
Hello there!I have this problem that when I install using eclipse, it only installs to my .m2 repository instead of localhost:4502. What could be the cause of this?-already make sure the base POM file is pointing to localhost:4502Now I'm having thoughts it's because if the setting.xml that WKND tut ...
Hi,i am migrating my site from aem 6.1 to aem 6.4in my site i am using httpsession for maintaining some values.while moving this to AEM 6.4, sessions are working in author and publishers.but when i hit the same with dispatcher IP, i get null values in session variables.my current structure is 1 auth...
Hi all,I want to get the run mode of the AEM in java class. My code as belowpackage com.abc.xyz.core.models;import com.com.abc.xyz.core.exception.HostConfigurationException;import com.com.abc.xyz.core.utility.ApiManagementConfiguration;import org.apache.sling.api.resource.Resource;import org.apache....
Hi I have the following problem when uploading a package, I would like to know what I can do to avoid this inconvenience and read that should increase the memory of AEM JMV but I do not know how to do it if someone has an example or can tell me how I should do Increase the JVM memory for AEM I would...
Dear All, I have an image in my custom carousel and I want to make this responsive , means if the browser zoom is 100% "or" 90% "or" 80% "or" 70% "or" 60% "or" 50% the image should be fit with browser.So I have written the below code. But the image is not fit with the browser zoom in and zoom out.**...
Hi All,I am trying to check if a node exist under a path and set some property. but when i try to check a path through session it returns PathNotFoundException instead of true/false.if(!destSession.nodeExists(dRootPath)) / if(!destSession.itemExists(dRootPath))is there any other way?Regards,Vikram.
I have a figure which is regularly used throughout the website and every time this figure changes, we have to update every page that it is being used on. I was wondering if there was a way to have some sort of global variable where this can referenced in any component using something like "we have [...
Hello Devs,I created a login functionality, which uses CUG credentials for authentication. It requests /j_security_check servlet for authentication. The functionality throws 404 when triggered over dispatcher. I also allowed the request to the servlet path in the dispatcher configs, but unfortunatel...