aspose file tools*
The moose likes Struts and the fly likes is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

is "Action" a reserved word?

Chris Skinner
Greenhorn

Joined: Jan 23, 2002
Posts: 23
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>


Christopher Skinner<br />SCJP2 1.4<br />SCWCD (in training)
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Accidental duplicate post. Can be closed.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

k


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is "Action" a reserved word?