Hi,
I am using
struts 1.1. My ActionForm (formbean) is defined in struts-config in session scope (in the action tag, name="myform" set to session scope). Among other fields on the form, my formbean has a field/ property with getter and setter for a
String called usrAction.
Now, in my
JSP file, I want to retrieve the value of this usrAction property from the formbean and pass it as a parameter to a static method of an Util class. So, that i may then use this to print to the user.
Some thing like the below:
1. String action = retrieve the value of usrAction from the formbean.
2. String fName = SomeUtil.getFName(action).
3. <%= fName %>
How can i perform the step 1 above purely in struts.
Any help would be greatly appreciated.
Thanks in advance.