Hey, I think you're a bit confused. Let me expand on approach 1 with an example:
The Sling model has the values because it reads the properties from a resource, i.e., /content/myresource.
The servlet won't have access to the resource, but you can explicitly look for that resource, like this:
Stri...