Hi Arnab, arnab_ghosh wrote: > Because I am facing a problem when I am closing the Stream in the finally > block, an exception is thrown > "IOException: Trying to read from a closed stream" >
you don't need to close the stream yourself. This is already implicied by the execute() method of StreamingResolution. Quotation of its JavaDoc: "Once the InputStream or Reader signaled the end of the stream, close() is called on it." Manually closing the stream in the finally block will close the stream almost immediately after the return statement, which leeds to the IOException. Hope that helped, Marcus ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
