質問内容のコードは、ワイルドカードマッピングというものです。
{}で囲むことにより、合致するアクション名に置換されるプレースホルダになります。
例えばaction要素でpath属性に"/hoge*"と指定すると、"/hogeCreate" や "/hogeUpdate"など先頭が"/hoge"で始まる全ページに合致します。
さらに、合致した文字列をマッピング先Actionクラスやforward先のパス指定に含めることができます。
(例)
<struts-config>
<action-mappings>
<action path="/hoge*" type="com.hoge.webapp.Hoge{1}Action" >
<forward name="success" path="/WEB-INF/jsp/{1}.jsp" />
</action>
</action-mappings>
</struts-config>
質問内容の例でいくと、もしshow1とshow2という二つのアクションが存在する場合、ワイルドカードのパターンと合致します。
よって、以下の定義がされているのと同じことになります。
<action name="show1" class="actions.sendRedirect.show1">
<result>/views/sendRedirect/show1.jsp</result>
<result name="redirect" type="redirect">${redirectUrl}</result>
</action>
<action name="show2" class="actions.sendRedirect.show2">
<result>/views/sendRedirect/show2.jsp</result>
<result name="redirect" type="redirect">${redirectUrl}</result>
</action>
ワイルドカードマッピングに関する詳細は下記リンク先(海外サイト)も参考にしてみて下さい。
http://struts.apache.org/2.x/docs/wildcard-mappings.html
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。