Comment posted to Static HTML vs Dynamic URLs by Martin.

There is a tool that can do that:

http://www.search3w.com/product_be_visible.html

It converts an entire dynamic site into a static site while SEOing the web-pages.

It gives you nice RAR file with all the static pages to upload anywhere you like.