For Excel or HTML output should not be paginated.
parameters.put(JRParameter.IS_IGNORE_PAGINATION, true); - This is optional.It is not mandatory to pass this parameter for excel or html output
But for pdf,the output should be paginated .So we should put code as
parameters.put(JRParameter.IS_IGNORE_PAGINATION, false);