Re: handling on dynamic result

python <[email protected]> Thu, 14 Dec 2006 04:48:15 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <3122704.1166093325568.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
oppps....
i guess i get the answer!!

== xwork.xml ==
action name="myAction"
class="MyJavaAction"
method="myAction">
<result name="A">
<param name="location">doApple.action</param>
</result>
<result name="B">
<param name="location">doBall.action</param>
</result>
<result name="C">
<param name="location">doCat.action</param>
</result> 
<result name="*">
<param name="location">doErrorHandling.action</param>
</result> 
.......

look at the last result name, i put in "*". so, whenever result that NOT same with the 1 in  previous result. it will drive to this result ( result name="*").

pls verify either the answer i get the true or not. thanks again..
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53457&messageID=107535#107535

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]