var value=window.parent.getMethod();//调用父窗口的方法 javascript:window.location="地址";//在当前窗口打开新的窗口 $.getJSON('servlet地址',function(Jsondata){//请求servlet解析为json数据格式
})
String sql="select * from table t where t.id %s ?" sql=String.format(sql,"like");
System.out.println(sql)//输出select * from table t where t.id like ?
sql=String.format(sql,"="); System.out.println(sql)//输出select * from table t where t.id = ?
var value=window.parent.getMethod();//调用父窗口的方法javascript:window.location="地址";//在当前窗口打开新的窗口$.getJSON('servlet地址',function(Jsondata){//请求servlet解析为json数据格式})String sql="select * from table t where...