Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hi,
I am making an AJAX call to a sling servlet on CQ 5.6.1 using the path /bin/fetchlisting like below:
@SlingServlet(paths="/bin/fetchlisting",methods = "POST",metatype=true)public class RetrieveListingServlet extends SlingAllMethodsServlet {
The call is being made from javascript like this:
$.ajax({type : 'POST',url : '/bin/fetchlisting',
On author the Ajax call is getting executed just fine but on publisher I am getting an error /bin/fetchlisting 404 Not found.
Any help is much appreciated !
Thanks
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
As long as all OSGi bundles are successfully deployed and Active -- everything will work on Publish like they do on Author.
Zugriffe
Antworten
Likes gesamt
Hi,
Check the condition of your servlet (active/disabled/unsatisfied) in OSGI console (/system/console/components).
It should be active.
Zugriffe
Antworten
Likes gesamt
As long as all OSGi bundles are successfully deployed and Active -- everything will work on Publish like they do on Author.
Zugriffe
Antworten
Likes gesamt
Normally I have found that when you see things not showing up in publisher same as in author it is a permissions issue. You are always logged in within the author environment and not within publisher.
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten