Re: set up tomcat for biopython

2010-05-11 Thread Silvio Tschapke
Ok, I will try this. Thanks a lot for your help! On Tue, May 11, 2010 at 7:50 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Silvio, > > On 5/11/2010 1:09 PM, Silvio Tschapke wrote: > > On 5/11/

Re: set up tomcat for biopython

2010-05-11 Thread Silvio Tschapke
I took a look at jython and actually I am trying to implement a java servlet which calls a python module with help of jython. But I am not sure how and if I can use Biopython inside my jython modules. On Tue, May 11, 2010 at 6:44 PM, Martin Gainty wrote: > > i would start here > > > > http://sou

Re: set up tomcat for biopython

2010-05-11 Thread Silvio Tschapke
First of all, thanks for your reply! On Tue, May 11, 2010 at 6:33 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Silvio, > > I'm not familiar with biopython, so... > > On 5/11/2010 11:36 AM,

set up tomcat for biopython

2010-05-11 Thread Silvio Tschapke
Hi all, how do I configure tomcat that it finds the biopython libaries? Biopython is not included in jython.jar (which I have moved into the tomcat/lib folder. Biopython installs itself into the python26/lib/side-packages folder. But how can I tell tomcat about this? There is no python.jar neithe

Re: java servlets, jsp and python

2010-05-11 Thread Silvio Tschapke
I have searched for jython and implemented some examples how to access jython code from java classes (e.g. with the ObjectFactory Pattern). Everything works fine outside the server. But if I create a Dynamic Web Project to access jython code from a java servlet, eclipse cannot find the org.python.u

java servlets, jsp and python

2010-05-05 Thread Silvio Tschapke
Hi all, I am new to Web-Programming and maybe my question is trivial. I want to build a dynamic webpage and want to use a python script within a java servlet. Is this possible? I thought that it is only possible to run java code within a servlet. Maybe I havn't understood the architecture right. C