tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoop singh khimani <anoopsinghkhim...@gmail.com>
Subject Re: java servlets, jsp and python
Date Tue, 11 May 2010 12:10:14 GMT
how to unsubscribe this mailing list??

On Tue, May 11, 2010 at 4:50 PM, Silvio Tschapke <
silvio.tschapke@googlemail.com> wrote:

> 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.util.PythonInterpreter; withi=
n
> my Factory.java
> I tried to add jython.jar to the class path of the project but it doesn't
> work.
> Do I have to configure the tomcat server in a way that it can use jython?
>
>
> On Wed, May 5, 2010 at 6:57 PM, Martin Gainty <mgainty@hotmail.com> wrote=
:
>
> >
> > you can implement a Jython (Python for Java) solution
> > http://www.jython.org/
> >
> > Martin Gainty
> > ______________________________________________
> > Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidential=
it=E9
> >
> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
> unbefugte
> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachric=
ht
> > dient lediglich dem Austausch von Informationen und entfaltet keine
> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> > Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=
=EAtes pas
> le
> > destinataire pr=E9vu, nous te demandons avec bont=E9 que pour satisfair=
e
> > informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e ou =
la
> copie
> > de ceci est interdite. Ce message sert =E0 l'information seulement et
> n'aura
> > pas n'importe quel effet l=E9galement obligatoire. =C9tant donn=E9 que =
les
> email
> > peuvent facilement =EAtre sujets =E0 la manipulation, nous ne pouvons
> accepter
> > aucune responsabilit=E9 pour le contenu fourni.
> >
> >
> >
> >
> > > Date: Wed, 5 May 2010 18:50:40 +0200
> > > Subject: java servlets, jsp and python
> > > From: silvio.tschapke@googlemail.com
> > > To: users@tomcat.apache.org
> > >
> > > 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. Could anybody expla=
in
> > me
> > > how the web-container would call / interact with python?
> > > I haven't found this topic in the documentation.
> > >
> > > Cheers!
> >
> > _________________________________________________________________
> > The New Busy is not the old busy. Search, chat and e-mail from your
> inbox.
> >
> >
> http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL=
:ON:WL:en-US:WM_HMP:042010_3
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message