As per example site available in DD4T 1.31, ServletOutputStreamWrapper in package org.dd4t.springmvc.view.model is using two functions which are available in servlet specifications 3.1. Our websphere is currently on version 3.0.

public boolean isReady() {
        // TODO Auto-generated method stub
        return false;

             public void setWriteListener(WriteListener arg0) {
              TODO Auto-generated method stub


My Question is, Can I remove these two functions to make it as per serverlet 3.0 specifications.

1 Answer 1


Yes you can - that servletoutputstream is only used by weblogic - every other application server uses the printwriter.

  • Thanks Rogier, As we are not using weblogic So Can I completly remove this class from my application? Feb 5, 2016 at 7:58
  • The class has references so you'd have to remove those too (you could run into runtime errors). Feb 11, 2016 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.