There is no default mechanism for creating Rails-like scaffolding in the default distribution. You may be interesting in something like AppFuse, however, which can create a Struts 2 application (along with several other frameworks).
Of course, there's nothing stopping you from creating your own scaffolding mechanism, depending on your needs.
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