Siddiq Syed wrote:
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.

You could define global results, available to all action invocations.

IMO returning an unmapped result string is a bug, though.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to