Roy,
if you need to call a servlet from PHP, PJB is not strictly needed for this: why don't you simply use e.g. the cURL extension?
It would make POSTing / GETting over HTTPS a breeze, and give you a lot of control over connection parameters.
Moreover, it is FAST.
Massimo
> -----Messaggio originale-----
> Da: php...@li...
> [mailto:php...@li...]
> Inviato: lunedì 23 maggio 2011 22.20
> A: php...@li...
> Oggetto: [Php-java-bridge-users] Calling a Java Servlet from PHP
>
> Hi there,
>
> I can't seem to get what I want done working and really hope
> that someone can put me in the right direction - please.
>
> I am trying to send values from a PHP web app (using
> CodeIgniter) to a Java servlet (over https). I want to
> submit values to the servlet and based on these parameters
> return an appropriate response.
>
> Please can someone point me in the right direction here. I
> see there is an example of a doGet on the site, but how do I
> submit parameters to the servlet? Can this be be done using
> doPost as well? How would I submit over https? Sorry for
> all the questions, but I really need help.
>
> Thanks,
> Roy
> --------------------------------------------------------------
> ----------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach
> of its next-generation tools to help Windows* and Linux*
> C/C++ and Fortran developers boost performance applications -
> including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|