struts 2 tag accessible data in scriptlet
posted 5 years ago
I was wondering if there is a way to share data from a Action class to a scriptlet in my jsp. I can access what I want using struts tags <s:property value="tempBean.myVar" /> but I want to be able to get to the 'tempBean' from a scriptlet. I haven't found any real data on this from searching. The 'tempBean' object is a private field of my action class and has public getters/setters.