Hi, Escape is escaping you text in an HTML friendly way. your ü was tranformed to ü (which is the corresponding HTML entity). The issue is that you were using that in URL that was URL-encoded. So you ü is transformed to %26%23xFC%3B (with %26=& , ...). So in the case you are using the value of a property as a URL parameter, you need to set the encoding of that parameter to false (that's pretty much why this parameter exists on the property tag). Hope it helps! Denis.
2009/4/23 <juergen.l...@bmw.de> > Hello, > > I have solved the problem. There is to set escape="false" in s:property, > like > <s:param name="title"><s:property value="%{title}" escape="false" > /></s:param> > > But what does escape="false", actually? > > > > > -----Ursprüngliche Nachricht----- > > Von: juergen.l...@bmw.de [mailto:juergen.l...@bmw.de] > > Gesendet: Donnerstag, 23. April 2009 07:51 > > An: user@struts.apache.org > > Cc: mgai...@hotmail.com > > Betreff: AW: s:url, s:param and german umlauts > > > > Does this mean there is a bug in 2.1.16? > > > > Von: Martin Gainty [mailto:mgai...@hotmail.com] > > Gesendet: Mittwoch, 22. April 2009 15:19 > > An: Leeb Juergen, TD-311 > > Betreff: RE: s:url, s:param and german umlauts > > > > https://issues.apache.org/struts/browse/WW-3095 > > > > Vielen Danke, > > Martin > > ______________________________________________ > > Verzicht und Vertraulichkeitanmerkung > > > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede > > unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. > > Diese Nachricht dient lediglich dem Austausch von Informationen und > > entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten > > Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt > > uebernehmen. > > > > > > > > > > > > > > > > > > ________________________________ > > From: mgai...@hotmail.com > > To: juergen.l...@bmw.de > > Subject: RE: s:url, s:param and german umlauts > > Date: Wed, 22 Apr 2009 09:06:58 -0400 > > > > Bestandteil, die setEncoding Methode verwenden > > > > public static final String STRUTS_I18N_ENCODING = > > "struts.i18n.encoding"; > > > > @StrutsTag(name="include", > > tldTagClass="org.apache.struts2.views.jsp.IncludeTag", > > description="Include a servlet's output " + > > > > "(result of servlet or a JSP page)") > > > > public class Include extends Component { > > > > > > > > @Inject(StrutsConstants.STRUTS_I18N_ENCODING) > > > > public void setDefaultEncoding(String encoding) { > > > > defaultEncoding = encoding; > > > > } > > > > > > > > aber wir sind interessiert, an, die URL Kategorie zu verschlüsseln > > @StrutsTag(name="url", > > tldTagClass="org.apache.struts2.views.jsp.URLTag", description="This > > tag is used to create a URL") > > public class URL extends ContextBean > > > > /* > > > > @Inject(StrutsConstants.STRUTS_I18N_ENCODING) > > > > public void setDefaultEncoding(String encoding) { > > > > defaultEncoding = encoding; > > > > } > > */ > > setEncoding Methode fehlt in der URL Kategorie? > > > > Martin > > ______________________________________________ > > Verzicht und Vertraulichkeitanmerkung > > > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede > > unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. > > Diese Nachricht dient lediglich dem Austausch von Informationen und > > entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten > > Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt > > uebernehmen. > > > > > > > > > > > > > > > > > > > > > From: juergen.l...@bmw.de > > > To: user@struts.apache.org > > > Date: Wed, 22 Apr 2009 14:34:27 +0200 > > > Subject: s:url, s:param and german umlauts > > > > > > Hello, > > > > > > I have a problem with the struts tags s:url and s:param. > > > I want to provide a link within me JSP. Therefore I use the s:url and > > s:param. > > > i.e. > > > > > > <s:url id="url_xls" action="EinlaufTypen_Bericht_XLS" > > escapeAmp="false"> > > > <s:param name="title"><s:property value="%{title}" /></s:param> > > > </s:url> > > > > > > The value of Title can include german umlauts, like ü. i.e > > > title="Füller" > > > > > > In this case I get the following url in the html-source: > > > > > http://localhost:8080/DBLackAuswertungen/einlaufTypen/showEinlaufTypen_ > > Eingabe.action?title=F%26%23xFC%3Bller > > > > > > Can somebody help me to get here a ü? > > > > > > I have set <constant name="struts.i18n.encoding" value="ISO-8859-1" > > /> in my struts.xml and I have > > > <%@ page contentType="text/html; charset=iso-8859-1" > > pageEncoding="ISO-8859-1" %> > > > In my jsps. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > ________________________________ > > Rediscover Hotmail®: Get quick friend updates right in your inbox. > > Check it > > out.<http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Redi > > scover_Updates2_042009> > > ________________________________ > > Rediscover Hotmail®: Get quick friend updates right in your inbox. > > Check it > > out.<http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Redi > > scover_Updates2_042009> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >