struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Almeida <>
Subject S:url and s:param and character encoding
Date Fri, 29 Aug 2014 16:11:11 GMT
I had an issue recently with a download action not finding the
corresponding file and you might be able to help me with it. The
filename (on disk) was "Calendário" ("á" is the focus here).

I am using the following s:url (Calendário is within the variable

		 		<s:url encode="true" var="downloadUrl" action="Filedownload">
					<s:param name="">${entityId}</s:param>
					<s:param name="fileName"><s:property value="%{#answer}"/></s:param>
				<s:a theme="simple" href="%{downloadUrl}"><s:property

If I use a plain-old <a> and s:properties I get the normal behaviour:

				<a href="Filedownload.action?<s:property
value="%{#answer}"/>"><s:property value="%{#answer}"/></a>

Is there something missing from s:url?
I also found which seems
to mention something similar, but marked as solved in 2.0.x.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message