Hi Robert,As the above replies you could use a sling servlet to achieve this. Or is there any specific business requirement to use jsp, if not you could refer to the below url for reference.https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.htmlThanksTuhin