I've never tried this and haven't found any documentation but reading the source it appears you can configure a wildcard result using <result name="*">.
see com.opensymphony.xwork2.DefaultActionInvocation.createResult() source [1] [1] http://svn.opensymphony.com/fisheye/browse/~raw,r=1851/xwork/trunk/src/java/com/opensymphony/xwork2/DefaultActionInvocation.java On Wed, Nov 4, 2009 at 4:30 PM, Siddiq Syed <siddiq...@yahoo.com> wrote: > > Hi all, > > Once an action method returns a string and if the string is not mapped to a > result name in struts.xml , is there any way where we can display a default > page. > > For example as mention in the below struts.xml file, > > <action name="determineCaseEvaluationType" > class="com.activity.EvaluateCaseAction" > method="determineCaseEvaluationType"> > <result name="guidelInitConsid" > type="tiles">editGuidelinesCaseEvaluation</result> > <result name="shrtsntcInitConsid" > type="tiles">editShortSentenceCaseEvaluation</result> > <result name="sscat2p1InitConsid" > type="tiles">editShortSentenceCaseEvaluation</result> > <result type="tiles">editGuidelinesCaseEvaluation</result> > </action> > > If the determineCaseEvaluationType() does not return any of the above > mention string , If the method returns any other string ,is there any way > where I can display a default page to the user through tiles. > > > -- > View this message in context: > http://old.nabble.com/Default-mapping-to-a-result.-tp26204969p26204969.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >