[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[jetty-users] PrintWriter sets with error flag on redirection
- From: Srinivasa Yellapu <srinivasaven@xxxxxxxxx>
- Date: Thu, 14 Jun 2012 00:54:13 -0700 (PDT)
- Delivered-to: email@example.com
We use dwr reverse ajax as server push. We observe that some of the pushed
messages are sent more than once (sometimes infinitely). This is happening
because of PrintWriter object set with error flag and all flushing succeeds
without any error. We are sending a sample web application to reproduce the
-> When redirecting from one jsp page to another the PrintWriter error
flag is getting set. Note that this is happening only when the tag elements
in the page are beyond certain number. (Probably related to the page load
being not very light.)
-> There is a browser dependency observed for this problem. This behavior
is seen in Chrome and Firefox but not in Opera; In IE and Safari the
behavior is inconsistent. (Current versions used for all browsers).
To run the test, visit the testapp home page and click on Test Behavior.
Link to war file: http://jetty.4.n6.nabble.com/file/n4958627/testapp.war
We are using jetty-7.6.3.v20120416 and dwr-3.0.0-RC3-dev-425.
Server Platform is Linux Fedora 14, Kernel Version: 220.127.116.11-45.fc14.i686
Refer dwr link about the issue:
View this message in context: http://jetty.4.n6.nabble.com/PrintWriter-sets-with-error-flag-on-redirection-tp4958627.html
Sent from the Jetty User mailing list archive at Nabble.com.