Hi just a query....There is two way to register the servlet in AEM:first by pathsecond by resource typeI am having doubt on "by Resource type"If I register the servlet "by path" then we can call my servlet by using Ajax at any particular event like clicking on submitting button we can get some input...