Use jquery ajax on the page
//Retrieve name method
function jiansuoByName(k,name){
if (name == '') {
alert("Please enter the search content");
return;
}
$.post(basePath "/sysmgr/searchesAjax/searchesJsonPlugin!searchesNameByOMCByName.action", createQS(name),
function(data){
//alert(data.result 'n ' k); // John
setLine_memoryFunction_A(data.result,k);
}, "json");
}
String _name = request.getParameter("key");
String name = URLDecoder.decode(_name,"utf-8");