Expand my Community achievements bar.

Xena_bcn
Xena_bcn
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • thank you, @edubeyMeanwhile I was reading about Servlets called by resource type and default servlet.Even though I can see this servlet in Components, and in the 2nd link you provided, it is said : "A component may publish itself as an OSGi service."in publish instance "Logout" button is not working...

    Type

    Questions

    Views

    3.0K

    Likes

    0

    Replies

    0
  • HiMy Logout Servlet is defined as @Component(enabled = true)@Service(Servlet.class)@Properties({    @Property(name="resourceTypes", value="sling/servlet/default"),    @Property(name="methods", value="POST"),    @Property(name="selectors", value="ourlogout"),    @Property(name="extensions", value="ht...

    Type

    Questions

    Views

    4.6K

    Likes

    0

    Replies

    17
  • Hithank you.Yes I used http://localhost:4502/system/console/jcrresolver  to check the servlet, it returned a correct mappingAjax fine.in Dispatcher I allowed the whole path to the servlet.This way the login worked.

    Type

    Questions

    Views

    925

    Likes

    0

    Replies

    0
  • yes i tried it.but the logout button is inside a component, and components don't allow sling:resourceType property.So why the original code of this project  had @Property(name="resourceTypes", value="sling/servlet/default")I also changed @Component(enabled = true)@Service(Servlet.class) to@SlingServ...

    Type

    Questions

    Views

    892

    Likes

    0

    Replies

    0
  • hi Alex, thank you, i know it... butmy Servlet with resourceType didn't work, yesterday we discussed it here: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__vcs8-_hi_my_logoutse.html Could you please have a look and tell me you...

    Type

    Questions

    Views

    891

    Likes

    0

    Replies

    0
  • Hi here,So my servlet got a path "/bin/...."  copying a post from Adobe help.But inside Dispatcherbin is not allowed, of course I can allow it. But ....what path would be OK for a servlet?

    Type

    Questions

    Views

    1.6K

    Likes

    0

    Replies

    6
  • hi @bsloki . You might remember my questions, I am copying a project from Live to test server, the project jar in LIVE had this XML.As I have to make changes in the source, and upload a new JAR , i thought I need that XML with the same name.

    Type

    Questions

    Views

    682

    Likes

    0

    Replies

    0
  • thank you, i will follow the documentation you provided

    Type

    Questions

    Views

    678

    Likes

    0

    Replies

    0
  • Thank you,for this project I always have been using this documentation to develop with Eclipsehttps://docs.adobe.com/docs/en/cq/5-5/developing/developmenttools/developing_with_eclipse.htmlThere is an example POM file and then run Maven install. I didn't use any Maven command from command line.For Lo...

    Type

    Questions

    Views

    679

    Likes

    0

    Replies

    0
  • hiSo I fixed Sling annotations and now I get a xml file inside OSGI-INF folder inside the JARBut the xml file name is not serviceComponets.xml but taking the Servlet Class name even with the package name . How to get normal serviceComponets.xml ?

    Type

    Questions

    Views

    859

    Likes

    0

    Replies

    6