Sorry for what is a simple question, I'm a total AEM newbie and not very good at Java either.
I'm doing an IP redirection script, it redirects the user to a different website based on his location. I'm using the Maxmind database to get the location using the IP. I'm stuck at a simple thing, where do I place the servlet so that the script runs before the page loads? Any pointers on how I should go around this?
Solved! Go to Solution.
Views
Replies
Total Likes
SlingFilter could be the possible solution.
Documentation Apache Sling :: Servlet Filter Support
Sample code acs-aem-samples/SampleSlingRequestFilter.java at 1685a9acb7888ed901f5d2249782318f83889222 · Adobe-Co...
/Brijesh
Views
Replies
Total Likes
SlingFilter could be the possible solution.
Documentation Apache Sling :: Servlet Filter Support
Sample code acs-aem-samples/SampleSlingRequestFilter.java at 1685a9acb7888ed901f5d2249782318f83889222 · Adobe-Co...
/Brijesh
Views
Replies
Total Likes
Thanks, just what I needed. The sample code pointed me in the right direction :-)
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies