Kiesewetter S., ITSC Bonn, RV, EF, extern wrote: >> yes you can, >> <action name="action_name" method="method" class="class"/> >> you can even define different actions for each method in class >> > > Thx for the answer, but you didn't understand the question. I defined > several actions. Now i want to determine the class+method of an action > inside of a jsp page or inside of one of the tags of my own taglib. > I guess you mean you want to dynamically determine the action to go to next?
In that case, how about going to one action, and in that action determine next-step. Then, in the struts.xml, define a chain to the correct action based on the output. <action name="distrib" ...> <result name="result1" type="chain"> <param name="actionName">action1</param> </result> <result name="result2" type="chain"> <param name="actionName">action2</param> </result> ... </action> (sorry for typos in xml example here, I just outline my suggestion) Joakim
begin:vcard fn:Joakim von Brandis n:von Brandis;Joakim org:mnemonic as;MSS adr:;;Wergelandsvegen 25;Oslo;;0167;Norway email;internet:[EMAIL PROTECTED] title:Group leader - Managed Network Services tel;work:+47 23 204 729 tel;cell:+47 986 69 038 url:http://www.mnemonic.no version:2.1 end:vcard
signature.asc
Description: OpenPGP digital signature