Calling java servlets using python
Gerhard Häring
gerhard at bigfoot.de
Mon Mar 4 11:36:52 EST 2002
Wayne Pierce wrote in comp.lang.python:
> Gerhard Häring wrote:
>> Le 04/03/02 à 00:29, gopesh_sharma écrivit:
>>
>>>Dear All:
>>>
>>>Please let me know how to call java servlets using python?
>>>
>>
>> You need to be more specific what exactly you want to accomplish.
>>
>> Python is the client, the Java servlet is the server: use urllib/
>> urllib2.
>
> Not __really__, servlets are just code running on the server, but they
> aren't the server themselves. Think of them as souped-up CGI scripts,
> without the forking penalty (except on the first request). [...]
Thanks, but I'm perfectly familiar with Servlets and JSP.
Nevertheless, the OP's question was all but clear, so, in absence of a
crystal ball, your answer is just as much guessing as mine.
Btw. this is a good read for asking questions efficiently:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
More information about the Python-list
mailing list