Monthly Archives: June 2009
Struts 2 ActionMapper Implementation
In the topics application I wanted to be able to map URLs like:
http://www.arevalos.org/topics/twitter/opencode.html
http://www.arevalos.org/topics/twitter/t_ajax.html
I wanted to map those URLs to the same struts 2 action and use the same view, since the view can be re-utilized for all the different accounts. After an initial research on the Struts 2 Guides, I thought I might be able to utilize the “Parameters in namespaces”, but they rely on the deprecated (version as of this writing 2.1.6) Codebehind Plugin, and I didn’t really want to use deprecated stuff. Continue reading
Posted in Uncategorized
1 Comment