|
From: SourceForge.net <no...@so...> - 2004-09-24 01:07:32
|
Bugs item #1000340, was opened at 2004-07-29 21:05 Message generated for change (Comment added) made by gregwilkins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1000340&group_id=7322 Category: Servlets Group: Jetty3 >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Helge Fredriksen (helgefr) >Assigned to: Nobody/Anonymous (nobody) Summary: Not EDITABLE thrown upon using back button Initial Comment: I have a servlet which handles two pages, a search criteria page, and a result page. Upon browsing back and forth between these pages, quite often I experience this exception: ava.lang.IllegalStateException: Not EDITABLE at org.mortbay.http.HttpMessage.setVersion (HttpMessage.java:542) at org.mortbay.http.HttpConnection.handleNext (HttpConnection.java:913) at org.mortbay.http.HttpConnection.handle (HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection (SocketListener.java:197) at org.mortbay.util.ThreadedServer.handle (ThreadedServer.java:276) at org.mortbay.util.ThreadPool$PoolThread.run (ThreadPool.java:511) The resulting page from the request is blank, no information seem to be returned from Jetty. ---------------------------------------------------------------------- >Comment By: Greg Wilkins (gregwilkins) Date: 2004-09-24 01:07 Message: Logged In: YES user_id=44062 Assuming this was user error - closing. ---------------------------------------------------------------------- Comment By: Jan Bartel (janb) Date: 2004-08-02 10:32 Message: Logged In: YES user_id=45251 When you say you set the PrintWriter "to null", what do you mean? Are you attempting to use the object returned from HttpResponse.getWriter() outside the servicing of that request? ---------------------------------------------------------------------- Comment By: Helge Fredriksen (helgefr) Date: 2004-07-30 09:21 Message: Logged In: YES user_id=990648 After fiddeling around a bit with this problem, I found that setting the PrintWriter, which I got from HttpResponse.getWriter(), to null after finishing up with printing the resonse, actually solved the problem. Any explanation on this? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1000340&group_id=7322 |