I am setting request attributes in an Action class such as in the
following example:
 
            request.setAttribute("toDate", toDate);
            request.setAttribute("acctNum", acctNum);

Both variables toDate and acctNum are Strings. I then process the
action by returning a mapping.findForward to a JSP page.
 
I wish to be able to access these attributes as scripting variables on
my JSP page, and display their values if they happen to have them (e.g
not empty String or null, which could be possible).
 
My question - how do you access request attributes with Struts tags and
make them available as scripting variables?
 
I have tried using <bean:define>, but have been unsuccessful.
 
Any guidance or help would be appreciated... thanks!
 
--Chris

Reply via email to