Two Laptop Bag
The moose likes Struts and the fly likes Dynamic params in result annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic params in result annotation" Watch "Dynamic params in result annotation" New topic

Dynamic params in result annotation

Josep M Serrainat

Joined: Sep 14, 2010
Posts: 16
Hi everyone,
I have a method that performs an action according to the level in which the user is located (use scope). This can be done with xml as it says here.parameters in configuration results
But how does the same using annotacions?.
Currently do so, but I wonder if there is somehow more elegant / efficient to do so.

As you can see i define a new contant "scope_2" and do the redirection action.

Thank's for all.

I agree. Here's the link:
subject: Dynamic params in result annotation
It's not a secret anymore!