Hi,
I am new to
struts. I am working on an application and facing a few difficulties, any help would be highly appreciated.
- I have a ValueObject in my action which I am using on my
jsp. The VO has some text fields and a
String Map. Through OGNL expressions, the text field values get set to the VO, but the Map is not getting updated. Currently, I am setting the Map in session on the jsp, and then setting it back to the VO in the action, which I don't want to do. I am wondering if I am not specifying the Map field in my acceptableParameterName. I have specified the map as <VO>.<mapName>. Is it correct?
- Is it possible to pass the whole updated VO back to the Action (instead of setting the value of each field) just like it gets set from Action to the jsp (when its defined as a parameter)?
Thanks.