hi:
I use the DhtmlxConnector for java,and I want to Transfer Parameter to the servlet
I use this function ,but not thread safe.so i want to know how to use it.
this is my work.
mygrid.loadXML(“01a_sql_basic_connector.do?under_id=1”);
var dp = new dataProcessor(“01a_sql_basic_connector.do”);
dp.init(mygrid);
and the servlet like this:
protected void configure() {
Connection conn= ( new DataBaseConnection()).getConnection();
GridConnector c = new GridConnector(conn);
c.dynamic_loading(100);
if(under_id!=null){
c.render_sql("SELECT grid50000.item_id as ID , grid50000.item_nm ,grid50000.item_cd FROM grid50000 where id="+under_id,
"item_id(ID)","item_nm,item_cd");
}else{
c.render_sql("SELECT grid50000.item_id as ID , grid50000.item_nm ,grid50000.item_cd FROM grid50000",
"item_id(ID)","item_nm,item_cd");
}
please give me a example thanks