Thanks a lot. Such a silly mistake on my part. I had another question though. since we are talking in the url we see "par" in reality I have 2 parsys with different names. Is there a way to get the servlet working in both pasrs. I mean whichever parsys the author uses
http://localhost:4502/content/my-project/homepage/profile-page/test/en/jcr:content/par/my_component.simple.html well at least I'm not getting 404 but instead my component.html file is loaded without all the css.
/content/my-project/homepage/profile-page/test/en/jcr:content/par/my_component This is what I found with resourceType as my-component. (There is jcr:content between url)
http://localhost:4502/content/my-project/homepage/profile-page/test/en/par/my-component.simple.html This is what I'm using. I have updated my code in question to be more realistic.
http://localhost:4502/editor.html/content/my_project/homepage/profile-page/test/en.html this is my page when I edit it and add my component. by your suggestion the url will be http://localhost:4502/content/my-project/homepage/profile-page/test/en/par/my-component.selector.extension by hitting this I...