My url may or may not have a certain parameter and I set the action class for such a url as follows :
<action name="{paramOne}/{paramTwo:myparam*}/details"
class="myaction"
method="execute">
<result name="success">/mypage.jsp</result>
</action>
So the url something/myparam/details is working but when i try to invoke something/details (which according to struts.xml should work). It shows that there is not action class mapped.
your code '*' only can match between "{paramOne}/" and "/details" so you must have something between "{paramOne}/" and "/details"