Hi All,
As "AssetDownloadServlet" is registered with following properties:-
@Properties({@Property(
name = "sling.servlet.resourceTypes",
value = {"sling/servlet/default"}
), @Property(
name = "sling.servlet.methods",
value = {"GET", "POST"}
), @Property(
name = "sling.servlet.selectors",
value = {"assetdownload"}
)})
then how this servlet get invoked from a ajax call having url pathtoaasset.assetdownload.zip/suffix? since an aem asset doesn't have a resourcetype property either?
can someone provide me more details about this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
It get invoke using selector assetdownload
and sling/servlet/default is used to registered a servlet as default servlet which executes for all the requests.
Apache Sling :: Servlets and Scripts
Hi,
It get invoke using selector assetdownload
and sling/servlet/default is used to registered a servlet as default servlet which executes for all the requests.
Apache Sling :: Servlets and Scripts
thanks a lot arun for help.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies