A servlet is just a Java class that implements a specific interface,
making it able to process HTTP requests. Those HTTP requests are usually
made by an HTML form submission, but nothing about that is required. The
servlet must be registered to a specific set of criteria (a path
location, resource type, etc.) so that Sling knows when to invoke the
servlet as the processing mechanism for an HTTP request. High level,
here's what you'll need to do:Create a class, in your bundle, that
extends SlingA...