You don't need to access the value stack directly in
order to access action properties in a JSP. The action
itself is pushed on to the stack allowing any member
with a public "getter" method to be accessed.
Action:
public class MyAction {
private String _foo = "Hello";
public String getFoo
One way is by having following code in your action -
ValueStack valueStack = ActionContext.getContext().getValueStack();
-Omkar
slideharmony wrote:
>
> How can I access the value stack in my action in order to store
> objects(that I want to retrieve in my jsps)?
>
--
View this message in
2 matches
Mail list logo