I\'m using Struts2 with devMode
turned on to catch as many warnings and errors as possible. Now I got across with some SEVERE notification that is only notified
You have used a key
attribute's value that didn't bind a submit button to the action. Struts UI tags usually bind the name
attribute's value to the action. According to Struts docs page a key
parameter is
Set the key (name, value, label) for this particular component
The first is a name
attribute is used to parse for OGNL expression to set a value to the value stack. As far as you don't have such value the OGNL exception is thrown, but parameters interceptor used to catch and ignore this kind of exceptions. And only if you have devMode
is turned on you can see this exception in the logs.
Usually if you are using a key
attribute in the Struts tag you should use the same property name as a key in the properties file, so it correctly bind the action property.