What I want to do next is create a new page called "mypage.html" and supply first and last as suffixes.
mypage will display information relevant to the person in a properly formatted page. **With code above, all I get is JSON response.**
Some assumptions/changes which I think is needed to achieve my goal:
1. I will be using paths and using request parameters (i.e. using request.getParameter("myparameter") on servlet code
2. I will be using AJAX to access the servlet
But is this the AEM/Sling way of doing it? Or perhaps there is a better way to do what I want?