Handle Dynamic URL in CQ
We need to handle Dynamic URL to generate XML based on users request. URL: localhost:4502/feed/[search-term].xml
Ex: localhost:4502/feed/webinar.xml
It should return an xml, which will be generated by system based on search-term mentioned in the URL.
How can we handle such request? I've tried using servlet but it seems sling servlet doesn't support wildcards in the sling.servlet.paths.
Thanks,
Punit Jindal