Hi Prashant
The first question - which version of Tomcat? What operating sytem? What JVM? and in your case which version of Jython?

Secondly please could you clarify exactly how your web is structured?

My understanding from your first email is:

1. servlet is called with request containing a file (presumably mutlipart encoded?) 2. the file data is then fed into a python script running either using a java6 ScriptManager or similar. 3. and then what? Are you streaming the output from that file straigth into the PrintWriter/OutputStream of the HttpServeltResponse?
Or are you trying to save the file locally?

Regards

Alan Chaney


Prashant Golash wrote:
Hi Tomcat-Apache Gurus,
I have a web application where  from the front end user loads a file
and gives it as input to Java classes.The file is given as input to
a python script which converts it into some other format.
Here I have used the concept of jython.
The file is converting properly in the parent
directory of Tomat but with some of the data which is missed.The problem is
when I close the tomcat,then additional data is added to the converted file
which
completes the correct conversion.

I want to know whether some internal buffer of Tomcat is holding the extra
data.
If so how to retrieve it.

Sincerely,
Prashant golash


!DSPAM:4997ebf763341804284693!



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to