Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在服务器(a)中,我有一个脚本可以做一些事情,当任务完成时它返回一个像这样的数组:
Array ( [1372888] => 3 - 0 [1340712] => 0 - 0 );
我需要将此数组传递给服务器(b)。可以这样做吗?
您可以使用 json 来传递数据:
服务器 A:
$array = array("1372888" => "3 - 0", "1340712" => "0 - 0") $passArray = json_encode($array) ; /// Send
服务器 B:
// Receive data: $array = json_decode($array,true);
首先,非常感谢大家一直以来的支持。
我有一个与 .xhtml 和 'f:ajax' 相关的问题。
我通过默认折叠的bean变量设置richfaces:collapsiblepanel'expanded'属性,并且在模糊事件中它被扩展。我想在 f:ajax 请求完成后将焦点设置为 UIComponent。为此,我用