[Pljava-dev] pljava + http-post

From: mechwarrior at katamail(dot)com (mechwarrior at katamail(dot)com)
To:
Subject: [Pljava-dev] pljava + http-post
Date: 2007-10-22 12:54:35
Message-ID: 131.175.12.86.1740283494.1193057675@webmail.katamail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

> Da: Kris Jurka <books at ejurka.com>
> Data: Mon, 22 Oct 2007 03:25:50 -0400 (EDT)
> A: "mechwarrior at katamail.com" <mechwarrior at katamail.com>
> Oggetto: Re: [Pljava-dev] pljava + http-post
>
>
>
> On Sat, 20 Oct 2007, mechwarrior at katamail.com wrote:
>
> > i'm quite new to both postgresql and pljava and thus i'm having some
> > problems to make my pljava function work.
> >
>
> I don't see anything pljava specific here. Does this work if you run it
> as a standalone application?
>
> Kris Jurka
>

My bad ... i trusted too much the many examples and tutorial about sending POST data through java apps that getting no exception meant "everything works fine", to me. As you suggested, tryed a standalone java app to do the same "post" work and got the same result.
In the end i made it, and now everything works as intended but, there are two strange behaviors i cant explain.

1) Java http-post works fine with a servlet but not with a jsp page
2) Since each time i modify my pljava function i've to compile+jar and then replace the jar in the db, i made (atleast for the second part) a function with about 10 commands (same as pljava exmaple tutorial + cleaning some debug tables). Sometimes happen that even if i execute my function the jar dont get updated and i've to restart the postgres db. That's quite annoying if you're trying to understand if you're making useless updates to your code or if it's just postgres not updating the new jar.

Anyway thx again for the support even if not so pljava related.

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose!
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2007-10-22 21:07:13 [Pljava-dev] pljava + http-post
Previous Message Kris Jurka 2007-10-22 07:25:50 [Pljava-dev] pljava + http-post