Is there any way where I can retrieve the result name from the prepare method
of an action.

For example, I have  the below mapping in the 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>
</action>

If I passes the string "guidelInitConsid" , I need to get
"editGuidelinesCaseEvaluation" as a result.
                
I know its odd.!!

But i am curious to know if we can get the result , through any of the api
method., like actionmapping

Any idea ?
-- 
View this message in context: 
http://old.nabble.com/retrieving-the-result-from-strust-config.-tp26203846p26203846.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

Reply via email to