On Wed, Jan 15, 2014 at 7:34 AM, André Warnier a...@ice-sa.com wrote:
Asok Chattopadhyay wrote:
It looks like, the problem may be caused due to some scripts being
inserted
into the page by an external domain. I am investigating farther on that
line.
Thanks everybody.
Thank you anyway for
On Wed, Jan 15, 2014 at 4:15 PM, André Warnier a...@ice-sa.com wrote:
On Wed, Jan 15, 2014 at 7:34 AM, André Warnier a...@ice-sa.com wrote:
Asok Chattopadhyay wrote:
It looks like, the problem may be caused due to some scripts being
inserted
into the page by an external domain. I am
Asok,
As I said before, I have no control over the input text. In the test
servlet I am simply reading text from a file and sending it out to the
browser. No other processing has been done to the text by the servlet. The
browser, however, receives a page with CRLF stripped starting from a
Asok,
1) on this list, do not top post. Read the rules :
http://tomcat.apache.org/lists.html
tomcat-users .. Important .. 6.
Asok Chattopadhyay wrote:
As I said before, I have no control over the input text. In the test
servlet I am simply reading text from a file and sending it out to the
On 1/13/2014 10:28 PM, Asok Chattopadhyay wrote:
As I said before, I have no control over the input text. In the test
servlet I am simply reading text from a file and sending it out to the
browser. No other processing has been done to the text by the servlet. The
browser, however, receives a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Asok,
On 1/13/14, 10:28 PM, Asok Chattopadhyay wrote:
As I said before, I have no control over the input text. In the
test servlet I am simply reading text from a file and sending it
out to the browser. No other processing has been done to the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
André,
On 1/13/14, 9:36 AM, André Warnier wrote:
Asok Chattopadhyay wrote:
Hi,
My servlet generates a page containing embedded JavaScript and
sometimes the page received in the browser comes with CRLFs
stripped from the text, starting at
It looks like, the problem may be caused due to some scripts being inserted
into the page by an external domain. I am investigating farther on that
line.
Thanks everybody.
On Tue, Jan 14, 2014 at 11:02 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED
Asok Chattopadhyay wrote:
It looks like, the problem may be caused due to some scripts being inserted
into the page by an external domain. I am investigating farther on that
line.
Thanks everybody.
Thank you anyway for writing this. It allows us (and anyone else consulting the email
Thanks Andre,
Whenever, the CRLFs are stripped, I find an extra line of script in the
page when I View source. The line was not in the original file test.html.
Here is the extra line inserted:
script src=
On Jan 13, 2014, at 6:09 AM, Asok Chattopadhyay da.a...@gmail.com wrote:
Hi,
My servlet generates a page containing embedded JavaScript and sometimes
the page received in the browser comes with CRLFs stripped from the text,
starting at some point in the text. This creates a big problem if
I checked the string, say, s, just before and after writing it to the
PrintWriter.
PrintWriter out=response.getWriter();
Print(before=+s);
out.println(s);
out.flush();
out.close();
Print(after=+s);
where Print is a static method printing on the log file localhost...log
And the log shows no
On Jan 13, 2014, at 8:26 AM, Asok Chattopadhyay da.a...@gmail.com wrote:
I checked the string, say, s, just before and after writing it to the
PrintWriter.
PrintWriter out=response.getWriter();
Print(before=+s);
out.println(s);
out.flush();
out.close();
Print(after=+s);
where Print
No, I don't have any filter, except for a session counter listener. I am going
to make a demo servlet and post it soon once I am back at home,
Thanks Dan. I really appreciate your help,
Sent from my iPhone
On 13 Jan, 2014, at 9:36 PM, Daniel Mikusa dmik...@gopivotal.com wrote:
On Jan 13,
Asok Chattopadhyay wrote:
Hi,
My servlet generates a page containing embedded JavaScript and sometimes
the page received in the browser comes with CRLFs stripped from the text,
starting at some point in the text. This creates a big problem if the
script contains CRLF as statement separator
I am attaching the Test servlet and the text file that contains the page.
The Test servlet simply reads the file and sends out to the browser. When I
run this servlet, it strips all CRLFs from line 153 onward.
Thanks.
On Mon, Jan 13, 2014 at 9:57 PM, Asok Chattopadhyay da.a...@gmail.comwrote:
You can see the test servlet working at
http://workshop.dreamapps.com/da/test
Thanks again
On Mon, Jan 13, 2014 at 11:36 PM, Asok Chattopadhyay da.a...@gmail.comwrote:
I am attaching the Test servlet and the text file that contains the page.
The Test servlet simply reads the file and sends
On Jan 13, 2014, at 10:36 AM, Asok Chattopadhyay da.a...@gmail.com wrote:
I am attaching the Test servlet and the text file that contains the page.
The Test servlet simply reads the file and sends out to the browser. When I
run this servlet, it strips all CRLFs from line 153 onward.
Your
Hi,
-Original Message-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 4:52 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
I am attaching the Test servlet and the text file that contains the page.
The Test
-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 4:52 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
I am attaching the Test servlet and the text file that contains the
page.
The Test servlet simply reads the file
List
Subject: Re: Tomcat strips CRLFs from the generated page
I am attaching the Test servlet and the text file that contains the
page.
The Test servlet simply reads the file and sends out to the browser.
When I
run this servlet, it strips all CRLFs from line 153 onward.
Thanks
2014/1/13 Asok Chattopadhyay da.a...@gmail.com:
You can see the test servlet working at
http://workshop.dreamapps.com/da/test
1. Downloading the page with WGET tool, all CRLFs (on line 153 and below) are OK
2. Opening the page in Firefox, and doing View page source shows
HTML markup errors
Asok Chattopadhyay wrote:
You can see the test servlet working at
http://workshop.dreamapps.com/da/test
According to what I see when I save this page and view it with an editor that can show the
end-of-lines used, you have a terrible mixture of lines terminated by CR/LF, and lines
Asok Chattopadhyay wrote:
Hi,
Sorry about that.
Here are the locations of the two files:
(1) http://workshop.dreamapps.com/da/docs/Test.java
(2) http://workshop.dreamapps.com/da/docs/test.html
Same comment as before, for the file test.html : the file itself contains a mixture of
end-of-line
Hi,
-Original Message-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 6:41 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
Hi,
Sorry about that.
Here are the locations of the two files:
(1) http
...@apache.orgwrote:
Hi,
-Original Message-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 4:52 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
I am attaching the Test servlet and the text file that contains the
page
-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 4:52 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
I am attaching the Test servlet and the text file that contains the
page.
The Test servlet simply reads the file
27 matches
Mail list logo