Re: Tomcat Internal Buffering with Jython

2009-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prashant, On 2/15/2009 11:56 AM, Prashant Golash wrote: > Note:The python script is actually called using the PythonInterpreter class > and all those Java and Jython integration techniques. Why bother writing to a file at all, instead of reading from

Re: Tomcat Internal Buffering with Jython

2009-02-15 Thread Alan Chaney
Hi Prashant So the exact problem is that after your jsp page is called and the data processed then the file is incomplete? Presumably then you are using ordinary file I/O to write to this file? If that's the case, then I think the answer to your original question is "No - no internal buffer of

Re: Tomcat Internal Buffering with Jython

2009-02-15 Thread Prashant Golash
Hi Alan, Below are the details for the versions and OS: Tomcat Version : 6.0 OS : Windows XP JVM : 1.6 The way web is structured is: I have some precompiled python scripts which are actually compiled by jython into java classes(Before deploying). I have one python script which uses these precomp

Re: Tomcat Internal Buffering with Jython

2009-02-15 Thread Alan Chaney
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 f

Tomcat Internal Buffering with Jython

2009-02-15 Thread Prashant Golash
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 p