since ‎21-08-2018
‎22-05-2020
karthikbhat3624
Level 2
Re: SlingContext for JUnit is giving error karthikbhat3624 - Adobe Experience Manager
uppercase R only it is getting converted to lowercase
3178
Views
0
Likes
0
Comments
Re: SlingContext for JUnit is giving error karthikbhat3624 - Adobe Experience Manager
It is @rule only(uppercase R), somehow it converted to @rule
2454
Views
0
Likes
0
Comments
SlingContext for JUnit is giving error karthikbhat3624 - Adobe Experience Manager
HI,I'm trying to use @rulepublic SlingContext context = new SlingContext(); But it is giving me error below...java.lang.Exception: Field context must implement MethodRuleat org.junit.runners.BlockJUnit4ClassRunner.validateRuleField(BlockJUnit4ClassRunner.java:188)at org.junit.runners.BlockJUnit4ClassRunner.validateFields(BlockJUnit4ClassRunner.java:183)at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:123)at org.junit.runners.ParentRunner.validat...
5706
Views
0
Likes
7
Answers and Comments
Package Installation issue karthikbhat3624 - Adobe Experience Manager
Hi, I have a large package around 400 MB, tried to install through Package Manager, but it is taking large amount time, waited around 7 hours still 50% didn't completed, is there any other way to Install the package in a faster way.AEM - Questions​ Adobe Experience Manager​Regards,Karthik
5475
Views
0
Likes
5
Replies
Problem while fetching the value of RadioButton karthikbhat3624 - Adobe Experience Manager
I'm using radiogroup of selection having 3 options in AEM dialog, but everytime it loads it will select the first value, it will not retain the value what I have selected previously.Thanks.AEM - Questions​
992
Views
0
Likes
1
Replies
How can I call a Servlet from a Model class of AEM karthikbhat3624 - Adobe Experience Manager
Hello, I want to call a servlet from a Model class of AEM, How can I achieve it?Thank YouAEM - Questions​
699
Views
0
Likes
0
Replies
Re: RequestDispatcher and sendRedirect not working. karthikbhat3624 - Adobe Experience Manager
I've tried but no luck...Thank you for your valuable time...
4308
Views
0
Likes
0
Replies
Re: RequestDispatcher and sendRedirect not working. karthikbhat3624 - Adobe Experience Manager
I've added, It is logged in the log file file, but still page has not changed.
4308
Views
0
Likes
2
Replies
Re: RequestDispatcher and sendRedirect not working. karthikbhat3624 - Adobe Experience Manager
It is Staying in same page
4308
Views
0
Likes
4
Replies
Re: RequestDispatcher and sendRedirect not working. karthikbhat3624 - Adobe Experience Manager
For me Session is being set but I'm not able to call the Website, even it is not giving any exceptions,
4308
Views
0
Likes
5
Replies
Re: RequestDispatcher and sendRedirect not working. karthikbhat3624 - Adobe Experience Manager
package com.mindtree.travellingdiva.core.servlets;import java.io.IOException;import javax.servlet.RequestDispatcher;import javax.servlet.Servlet;import javax.servlet.ServletException;import javax.servlet.http.HttpSession;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.servlets.HttpConstants;import org.apache.sling.api.servlets.SlingAllMethodsServlet;import org.osgi.framework.Constants;import org.osgi.service.com...
4308
Views
0
Likes
7
Replies
RequestDispatcher and sendRedirect not working. karthikbhat3624 - Adobe Experience Manager
Hello,In Servlet I'm trying to redirect to another page using both RequestDispatcher and sendRedirect bu t bith are seem to be not working.What can I do?Thank YouAEM - Questions​
4524
Views
0
Likes
9
Replies
Re: Handling the Customized Signup/Login and Session Handling karthikbhat3624 - Adobe Experience Manager
I want to call a Servlet from the Model class,
1600
Views
0
Likes
0
Replies
Call a Servlet from a Model class karthikbhat3624 - Adobe Experience Manager
Hello,I'm using AEM 6.4,I want to call a servlet from a Model class, What is the way to do that?AEM - Questions​
2336
Views
0
Likes
3
Replies
Handling the Customized Signup/Login and Session Handling karthikbhat3624 - Adobe Experience Manager
Hello,I'm using AEM 6.4.I need to use customized Login and Signup through Database, I'm able to do so, But I'm having problem while handling sessions, please help me.AEM - Questions​ @
1683
Views
0
Likes
2
Replies
Re: Problem in MySQL Connection karthikbhat3624 - Adobe Experience Manager
Thank You for replying.Now it is Working for me,the problem was in the mysql-connector version.
2257
Views
0
Likes
0
Replies
Re: Problem in MySQL Connection karthikbhat3624 - Adobe Experience Manager
Thank you for replying, but still it is not working for me.Whether is there problem with AEM 6.4?
2257
Views
0
Likes
0
Replies
Problem in MySQL Connection karthikbhat3624 - Adobe Experience Manager
Hello,I'm trying to use MySQL DB connection,I've configured in OSGi also. When I try to do"@Referenceprivate DataSourcePool source"it is giving null value to it, hence it is giving error while we try do source.getDataSource("DataBaseTravel");I'm Using AEM 6.4v.krishh_187​smacdonald2008​Thanks in Advance
2409
Views
0
Likes
4
Replies