$postdata = http_build_query(array('name' => $album_name,'message' => $album_description));
$opts = array('http' =>array( 'method'=> 'POST',
'header'=>'Content-type: application/x-www-form-urlencoded',
'content' => $postdata));
$context = stream_context_create($opts);
Could anyone tell me similar function on jsp
http_build_query() is php function, similar function in Jsp is what?
stream_context_create() also php function