JSP how to accept the parameters from PHP
This is PHP.
$url = "http://localhost:8089/jsp.jsp";
$post _data = Array ("username" = "Bob", "key" = "12345");
$ch = Curl_init ();
Print_r ($output);
Then how to accept PHP in the JSP $post_data
And then how to show it?
Beg for your knees ...
------Solution--------------------
form submission, how to do it
------Solution--------------------
This has nothing to do with PHP, you can use get http://xxxx/xx?a=1&b=2 or post (your example), JSP how to take
------Solution--------------------
If you do not use PHP code on the page, directly with $_post or $_get accept echo is out, if the code and the page is separated by the smarty, the background assigned to the page.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service