Hello,

I am trying to concatenate strings in tag attributes and get results
that I don't understand:

<s:text name="/jsp/%{#parameters.file}" />

prints out "/jsp/test.jsp", whereas

<s:set name="a" value="'/jsp/' + #parameters.file" />
<s:text name="#a" />

prints out "/jsp/[Ljava.lang.String;@1bd2184", same for

<s:set name="a" value="%{'/jsp/' + #parameters.file}" />

whereas the following does not work:

<s:set name="a" value="'/jsp/'#parameters.file" />

What is the way to concatenate strings in the set tag and why doesn't it
work the same way as it does in the text tag?

Best,
Anton



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to