You can make use of the bean:struts
tag:
<bean:struts id="myActionMapping" mapping="/myAction" />
Once defined, you can access the properties straight on the myActionMapping
JSP bean:
<bean:write name="myActionMapping" property="task" />
Or, using EL:
${myActionMapping.task}
Reference: struts-bean.tld