note 19866 modified in ref.java by didou
| From: | didou@php.net | Date: | Wed, 21 May 2003 16:23:44 +0000 |
| Subject: | note 19866 modified in ref.java by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48762@lists.php.net to get a copy of this message | ||
Again about how to call java servlets from php...
the above method I described works as long as you don't need to send long strings as parameters
and this because they are sent via GET method that cannot handle long strings. So you need to send
the parameters via POST, which is not straightforward at all! Infact, you need to open a socket and
write php code that sends the call to the servlet as if it came from a form with post method.
--was--
Again about how to call java servlets from php...
the above method I described works as long as you don't need to send long strings as parameters
and this because they are sent via GET method that cannot handle long strings. So you need to send
the parameters via POST, which is not straightforward at all! Infact, you need to open a socket and
write php code that sends the call to the servlet as if it came from a form with post method.
Look at this url for more information:
http://px.sklar.com/code-pretty.html?code_id=313
http://www.php.net/manual/en/ref.java.php