Bookmark Topic Watch Topic
  • New Topic

is "Action" a reserved word?

 
Chris Skinner
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I just had a strange problem with a struts app I'm working on. I have a field in my form bean :

private String Action;

with the appropriate getters and setters.

In my .jsp I am using it like such :

<html:select property="action">
<option></option>
<option>Changed</option>
<option>Closed</option>
<option>Filed</option>
<option>Transfered</option>
</html:select>
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34236
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Accidental duplicate post. Can be closed.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
k
 
    Bookmark Topic Watch Topic
  • New Topic