Call to init was missing isServlet

Thanks martin-g for the review