i have scriptlet that actually invokes a java functions by passing an argument.
I want to replace the scriplet with a struts2 tag.
I know that i can invoke a method like this way ex:<s:property value="display()"/> where display() is a method from an object which is in the valuestack.
how can i pass an argument(not hardcoded constant) to the display() function.
Can i have something like <s:property value="display('<s:property value="getName()"/>')"/>