Annotation Result is a part of of configuration (struts config) that read on start up and load on startup, I dont think you can use dinamic value on annotation.
Mujoko On 8/29/08, rakeshxp <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am using Result annotations in the following manner ( static way ) > @Results({ > @Result(name = "index", value = "/jsp/en_US/help.jsp") > }) > > How can I pass a dynamic value to the result annotation, so that I can > achieve something like this > @Results({ > @Result(name = "index", value = "/jsp/${locale}/help.jsp"), > @Result(name = "show", value = "${show}" ) > }) > public class HelpController { > private String locale; > private String show; > ... > } > > Thanks! > > -- > View this message in context: > http://www.nabble.com/Result-Annotations-tp19214472p19214472.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Mujoko