What you have posted there should theoretically work. You say it doesn't - what doesn't work about it?
You are wanting the resulting url to come from a request parameter. Who sets this request parameter? What possible values can it take? You are using the "action" attribute with the struts tag which means it should link to a defined struts action. If you want to link to a URL you should use the href attribute instead maybe?