Struts comes with nothing of the sort built in. You can look up the client IP free of charge in a database like Geolite2. I have implemented that in an app of mine to good effect. The free version gives you the country and often the city as well. If you need more than that, you'll need to pay.
There are similar databases available, like IP2Location.