But it must fix with exclude param https://struts.apache.org/getting-started/exclude-parameters.html <https://struts.apache.org/getting-started/exclude-parameters.html>
> On 3 Jan 2018, at 05:48, Yasser Zamani <yasserzam...@apache.org> wrote: > > > > 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. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org