| Author |
Automatic flushing of response
|
vineet kumar chaudhry
Ranch Hand
Joined: Apr 02, 2011
Posts: 45
|
|
Hi
I am using JSP code to send an email(SendEmail is class file which extends mail API)
Now when the data is less mail is being sent and the page is being forwarded
But when dat is large the mailisent but forwarding is not done
It is saying "Cannot write the response once it is commited(Something like this)"
I am quite sure that thi s is problem of automatic flushing of output stream
How can I avoid this problem?
Thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
|
Move the Java code out of a JSP and into a Java class where it belongs.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Automatic flushing of response
|
|
|