File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Dynamic params in result annotation

Josep M Serrainat
Greenhorn

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.

Jep.
 
wood burning stoves
 
subject: Dynamic params in result annotation