This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Having spent the last 3/4 hour doing something relatively straightforward, I would appreciate some advice. In the past, I've created a jsp containing hidden attributes. I've then retrieved them from an action and made use of their value.
For some reason, I have an action which does not appear to be picking up the hidden attributes from request scope.
The snippet from the jsp in question containing the hidden attribs is as follows:
when submitting this form via the input, this forwards to the action viewA, executing method aMethod. A snippet from this action:
If I debug in Eclipse, I can see these hidden attributes in the request's parameter map. This was also the case in the other action which works.
For some reason, calling get for attrib1 & attrib2 results in null values.
Would appreciate any pointers as to why this may be happening.