| Author |
Struts 2 problem -- s:hidden
|
Frank Serkland
Ranch Hand
Joined: Jun 21, 2010
Posts: 96
|
|
I have a JSP form using Struts2, shown below. There is a hidden value in the form, for which I'm using s:hidden (it's marked below -- line 17), and Eclipse is telling me, "Invalid attribute(value)." I've checked the Struts2 documentation for s:hidden, and it says value is supposed to be a String, but I'm also under the impression that enclosing your requested value with ${..} converts that value to a String. (I'm trying to use an int, for the record.) Nothing else is giving me any problems. I've tried multiple Google searches to try and find an answer to this, to no avail. Does anybody have any ideas?
|
 |
Frank Serkland
Ranch Hand
Joined: Jun 21, 2010
Posts: 96
|
|
Problem resolved. Code rewritten like this:
|
 |
 |
|
|
subject: Struts 2 problem -- s:hidden
|
|
|