Yes, setRole(String role) for my example. (*Chris*) On 8/30/07, akash agrawal <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for the reply Chris. > > Do you mean providing a setter like setRole(String role) or setRoles(String > role) would do? > > When would this setter be called? If I define an interceptor, Can I check for > this property inside interceptor before my execute() is called? > > Thanks, > -Akash > > Chris Pratt <[EMAIL PROTECTED]> wrote: Just create a mutator in your action > and Struts will populate the > value for you automatically. I use this to set the Role into my base > action > > > > admin > > > (*Chris*) > > On 8/30/07, akash agrawal wrote: > > Hi, > > > > Can someone explain me the usage of > element under element? How to access it property inside java action? > > > > Is this a valid config? > > > > > xyz, abc1, abc2 > > > > How to access roles property in an action class? > > > > Thanks, > > -Akash > > > > > > --------------------------------- > > Shape Yahoo! in your own image. Join our Network Research Panel today! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------- > Need a vacation? Get great deals to amazing places on Yahoo! Travel.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]