Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 0.1
-
Fix Version/s: 0.3
-
Component/s: View technologies
-
Labels:None
Description
For some as yet unknown reason a GSP sometimes only writes out half the response when running in Jetty (works fine in tomcat). Jetty prints out the following message, it appears that the content length is not being set correctly at the time of writing in the GSPResponseWriter class.
[groovy] Invalid length: Content-Length=256 written=1045 for http://localhost
:8080/gcms/site/displayPage/6
Issue Links
- is duplicated by
-
GRAILS-240
the view's layout can not work well
-
Clone of Grails-111
I am also seeing this problem (and yes it does work in Tomcat):
Invalid length: Content-Length=20 written=11197 for http://localhost:8080/requirements/useCase/show/1
The source of the page as reported by Firefox 2.0 beta is:
<html>
<head>
<ti
Using Grails 0.2.
Note: The data being displayed has come from a rich text source (Access via JDBC-ODBC and then inserted into HSQLDB) and so might contain "special" characters. I'm not sure if this is significant.