Hi in struts2 how we can get value from the variable which i declared in action to jsp. for example in action i have done operation and assigned that value to a variable X, i want to know how get the value and display in jsp. please help me.
Do you have a public getter and setter defined in your action for your action variable? The public getter is how your struts jsps obtain your action variables. The public setter is how your form submits fill that value.
Joined: May 11, 2010
Chris Montgomery thanks..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to get value from a action variable in Struts2