Hi all,

Could somebody help me with the next issue?



In a submit button I want to use a customized label (which is extracted from
a .properties file).

The problem is that I get the next exception:



Error setting expression 'btn.search' with value
'[Ljava.lang.String;@1ed56e2'

*ognl.OgnlException*: target is null for setProperty(null, "search",
[Ljava.lang.String;@1ed56e2)

      at ognl.OgnlRuntime.setProperty(*OgnlRuntime.java:1651*)



Here is the code involved:



…in the .properties:

btn.search=Search



…in the .jsp:

<s:submit key="btn.search " />



Does somebody know how to avoid this exception without implementing a method
‘setSearch()’ in the action?



Thanks in advance!


--

Reply via email to