I don't understand what you mean by "dynamically". The Google Map is downloaded to a browser according to the parameters you send when one opens a page, so it is always "dynamic".
Did you read the page I linked to?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to implement googlemap in struts2 application