On 1/2/2018 10:38 PM, José Antonio Delgado Trujillo wrote:
> So <s:submit key=“Submit”> produces the next error:
> 18:27:10,990 ERROR [stderr] (default task-9) Unexpected Exception caught 
> setting 'submit' on 'class uoc.jdelgadot.loginstruts.action.Login: Error 
> setting expression 'submit' with value ['Acceder', ]

When there is no setter for given parameter name, a warning message like 
above will be logged in devMode. Thus is expected behaviour to allow 
developer to spot missing setter or typo in either parameter name or 
setter. You can simply ignore this one and if all such warning logs were 
ok, set struts.devMode to false to disable this message when you deploy 
to production.

Hope this helps.

Reply via email to