This content has been marked as final.
Show 3 replies
-
1. Re: out.write(bytes[]) taking long time for large xml strings.
jfclere Jun 5, 2013 2:46 AM (in response to rameshchokkapu)The speed of writting big files depends on the client speed if you have slow clients and want to send 50 mb you probably need to go to asynch solution or write the file and get it served by the default servlet (use native or NIO2 connector to get native sendfile).
If you want use sendFile() look to the DefaultServlet code.
-
2. Re: out.write(bytes[]) taking long time for large xml strings.
rameshchokkapu Jun 5, 2013 5:51 AM (in response to jfclere)Thank u for Reply..
what is the meaning of 'native or NIO2 connector to get native sendfile'?
In org.apache.catalina.servlets.DefaultServlet code doesn't contain sendFile().
please explain.
-
3. Re: out.write(bytes[]) taking long time for large xml strings.
jfclere Jun 5, 2013 9:19 AM (in response to rameshchokkapu)