Struts2 Action Mapping in java code dynamically
===

Can We write Struts2 action in java class.

My requirement is to load action data from DB and map those actions dynamically.

is this possible to do? How?