AW: Pressing Struts Questions
Hi Torsten! without having tested this, but have you ever tried to convert 'Ändern' instead of 'Ändern'? Best regards, Bernhard
AW: Pressing Struts Questions
Hi Bernhard, Michael, > > >without having tested this, but have you ever tried to > convert 'Ändern' > >instead of 'Ändern'? > > Without testing it myself but looking at the sourcecode > 'Ändern' should > remain unchanged. I've tested it and you are right: It remains unchanged. The filter method only replaces the characters '&', '<', '>' and '"'. > > This probably could work as a temporary fix. On the long run we will > need a proper solution though. > Currently i use 'Aendern' because with UTF-8 encoding the browser cannot display 'Ä'. But this could not be the final solution. Maybe i will find the time to write a corrected filter method. What i don't know is: Who is responsible for the ResponseUtils class? Is it Craig R. McClanahan? Should i post the method code to this mailing list or send it directly to him? Best regards Torsten
Re: AW: Pressing Struts Questions
>Maybe i will find the time to write a corrected filter method. What i don't >know is: Who is responsible for the ResponseUtils class? Is it Craig R. >McClanahan? Should i post the method code to this mailing list or send it >directly to him? Craig wrote the original class. I don't know wether he's still the maintainer but would expect so. When you post a patch it is probably best to do so on the struts-dev list and not on the struts-user list. In case this wasn't clear anyway: When you "write a corrected filter method" you should try doing so by parsing stuff like "&something;" and not by enumerating all such sequences you know about. Best, Michael -- Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: [EMAIL PROTECTED] Profanity ... It's not just for Windows users. PGP-keys available on request or at public keyserver
Re: AW: Pressing Struts Questions
On Tue, 14 Aug 2001, Beuck, Torsten wrote: > Hi Bernhard, Michael, > > > > > >without having tested this, but have you ever tried to > > convert 'Ändern' > > >instead of 'Ändern'? > > > > Without testing it myself but looking at the sourcecode > > 'Ändern' should > > remain unchanged. > > I've tested it and you are right: It remains unchanged. The filter method > only replaces the characters '&', '<', '>' and '"'. > > > > > This probably could work as a temporary fix. On the long run we will > > need a proper solution though. > > > > Currently i use 'Aendern' because with UTF-8 encoding the browser cannot > display 'Ä'. But this could not be the final solution. > > Maybe i will find the time to write a corrected filter method. What i don't > know is: Who is responsible for the ResponseUtils class? Is it Craig R. > McClanahan? Should i post the method code to this mailing list or send it > directly to him? > The way to get problems you encounter addressed is to post them to the bug tracking system: http://nagoya.apache.org/bugzilla/ so that all of the Struts committers can be made aware of the issue. The bug tracking system also has a mechanism for accepting attachments, so patches are *very* welcome. > Best regards > > Torsten > Craig