Re: Mysterious(?) carriage returns

2015-04-06 Thread Heikki Hyyrö
Chris Pratt kirjoitti 7.4.2015 kello 0.32: > > I believe line breaks in HTTP are always represented as pairs, > regardless of the Client or Server OS's Thanks for the tip; it helped me to look for the right thing and verify that HTML 4.01 specification indeed states exactly what you said: ht

Re: Mysterious(?) carriage returns

2015-04-06 Thread Chris Pratt
lines have become ”\r\n”. > > What can be the reason for this? The form submission mechanism (something > on the browser-side or in Tomcat) or the way Struts 2 handles form > parameters before feeding them to the action? I want to get rid of these > extra carriage returns but would very mu

RE: Mysterious(?) carriage returns

2015-04-06 Thread Sean Powell
The OS with the browser submitting the page is Windows? -Original Message- From: Heikki Hyyrö [mailto:heikki.hy...@uta.fi] Sent: Monday, April 06, 2015 4:03 PM To: Struts Users Mailing List Subject: Mysterious(?) carriage returns Hi, I have been stumped by the following problem

Mysterious(?) carriage returns

2015-04-06 Thread Heikki Hyyrö
-parameter where the newlines have become ”\r\n”. What can be the reason for this? The form submission mechanism (something on the browser-side or in Tomcat) or the way Struts 2 handles form parameters before feeding them to the action? I want to get rid of these extra carriage returns but would

Re: carriage returns

2005-06-14 Thread Ed Griebel
er overrun, yuck! -ed On 6/14/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Ed Griebel wrote: > > >We had a problem with XML having too many carriage returns and > >whitespace for a downstream system. > > > Heck, XML has too much NON-whitespace, too ;) >

Re: carriage returns

2005-06-14 Thread draegoon Z
Thanks Jason, that is more like what I was looking for. From: Jason Lea <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: carriage returns Date: Wed, 15 Jun 2005 10:17:12 +1200 You can get Tomcat-5's JSP compiler to r

Re: carriage returns

2005-06-14 Thread draegoon Z
Thanks Jason, that is more like what I was looking for. From: Jason Lea <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: carriage returns Date: Wed, 15 Jun 2005 10:17:12 +1200 You can get Tomcat-5's JSP compiler to r

RE: carriage returns

2005-06-14 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> I'm finally sick of all the unwanted carriage returns created by > tiles and struts tags. > I searched the archives and found this trick: > > > > > > but it doesn't fix everything, especially comments. > > Has anyone else gotten sick of this and

Re: carriage returns

2005-06-14 Thread Jason Lea
of all the unwanted carriage returns created by tiles and struts tags. I searched the archives and found this trick: but it doesn't fix everything, especially comments. Has anyone else gotten sick of this and came up with a quick and clean sol

Re: carriage returns

2005-06-14 Thread Dave Newton
Ed Griebel wrote: We had a problem with XML having too many carriage returns and whitespace for a downstream system. Heck, XML has too much NON-whitespace, too ;) To solve the problem I wrote a simple javax.servlet.Filter instance that would get the response and strip out extraneous stuff

Re: carriage returns

2005-06-14 Thread Ed Griebel
We had a problem with XML having too many carriage returns and whitespace for a downstream system. To solve the problem I wrote a simple javax.servlet.Filter instance that would get the response and strip out extraneous stuff using String.replaceAll() on the output from a

re: carriage returns

2005-06-14 Thread Leon Rosenberg
he Nachricht- > Von: Jason Sheldon [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 14. Juni 2005 23:17 > An: Struts Users Mailing List > Cc: struts-user@jakarta.apache.org > Betreff: Re: carriage returns > > What are your concerns with unwanted carriage returns? > >

re: carriage returns

2005-06-14 Thread Leon Rosenberg
he Nachricht- > Von: Jason Sheldon [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 14. Juni 2005 23:17 > An: Struts Users Mailing List > Cc: struts-user@jakarta.apache.org > Betreff: Re: carriage returns > > What are your concerns with unwanted carriage returns? > >

Re: carriage returns

2005-06-14 Thread Hubert Rabago
On 6/14/05, draegoon Z <[EMAIL PROTECTED]> wrote: > > I'm finally sick of all the unwanted carriage returns created by tiles and > struts tags. > I searched the archives and found this trick: > Just to clarify: If the trick you used worked on the CRs you see aroun

Re: carriage returns

2005-06-14 Thread Jason Sheldon
What are your concerns with unwanted carriage returns? Do you think they are adding to the weight of the page? If you a using a server that support the 1.1 http spec(with compression), then the carriage returns apply a negible amount of weight to the page. Jason On 6/14/05, draegoon Z <[EM

AW: carriage returns

2005-06-14 Thread Leon Rosenberg
which would remove all empty lines (actually you can remove all CRs from your html, except javascript parts). Regards Leon > -Ursprüngliche Nachricht- > Von: draegoon Z [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 14. Juni 2005 22:22 > An: struts-user@jakarta.apache.org >

AW: carriage returns

2005-06-14 Thread Leon Rosenberg
which would remove all empty lines (actually you can remove all CRs from your html, except javascript parts). Regards Leon > -Ursprüngliche Nachricht- > Von: draegoon Z [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 14. Juni 2005 22:22 > An: struts-user@jakarta.apache.org >

carriage returns

2005-06-14 Thread draegoon Z
Hey guys, I'm finally sick of all the unwanted carriage returns created by tiles and struts tags. I searched the archives and found this trick: but it doesn't fix everything, especially comments. Has anyone else gotten sick of this and came up with a quick and clean solution

Re: Carriage Returns in MessageResources.properties

2004-12-16 Thread Richard Reyes
will try them all thanks Catalin and Bill. On Thu, 16 Dec 2004 08:57:15 -0500, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Maybe try using a double slash (\\r\\n) ... > > Richard Reyes wrote: > > > Hello Guys, > > > > How can I include a carriage return inside a properties file. I tried > > \r\

Re: Carriage Returns in MessageResources.properties

2004-12-16 Thread Catalin Croitoru
Hi, try tu put in your application.properties for CARRIAGE RETURN (CR) and NEW LINE (NL) the unicode value: CR: \u000D NL: \u000A in my application.properties this is work for special characters Catta On Thu, 16 Dec 2004 13:49:10 +0800, Richard Reyes <[EMAIL PROTECTED]> wrote: > Hello Guys, >

Re: Carriage Returns in MessageResources.properties

2004-12-16 Thread Bill Siggelkow
Maybe try using a double slash (\\r\\n) ... Richard Reyes wrote: Hello Guys, How can I include a carriage return inside a properties file. I tried \r\n and it show as \r\n on the emails being sent. Thanks Richard - To unsubscribe,

Carriage Returns in MessageResources.properties

2004-12-15 Thread Richard Reyes
Hello Guys, How can I include a carriage return inside a properties file. I tried \r\n and it show as \r\n on the emails being sent. Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM