reset password
Author Message
se1k1h1mawar1
Posts: 121
Posted 21:55 Oct 13, 2014 |

Would it be completely nonsensical to take in HttpServletResponse object as a parameter for a servlet's init method in order to initialize an OutputStream object as response.getOutputStream() inside the method?

Thank you in advance.

se1k1h1mawar1
Posts: 121
Posted 22:42 Oct 13, 2014 |

I am sorry, it is nonsensical because if I changed the method signature, then it wouldn't override!