This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts2 result  RSS feed

 
yash wardhan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can we use regular expression/EL in result tag of an action in struts.xml

What I want is somthing like this,

<action name="anyAction" method="myMethod" class="pack.MyAction">
<result name="*">{1}</result>
</action>

This works for,
<action name="*" method="{1}" class="pack.MyAction">
<result name="success">any.jsp</result>
</action>

Thanks in Advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66186
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"jq jr", please check your private messages for an important administrative matter.
 
yash wardhan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any replyies in the above question?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66186
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. The EL is part of JSP and only applied to JSP pages.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!