This commit is contained in:
Jan Bartel 2016-07-22 15:50:17 +10:00
parent 849d51c07d
commit 7b6bf03133
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ public class Dispatcher implements RequestDispatcher
private void commitResponse(ServletResponse response, Request baseRequest) throws IOException
{
if (baseRequest.getResponse().isWriting())
if (!(response instanceof Response) || baseRequest.getResponse().isWriting())
{
try
{