Hi, I’ve some piece of code using jqxGrid that gets its content from a dataadapter coming from something like this:
var sourceGrid = {
cache: false,
datatype: “json”,
url: ‘stock/getInfoa_8.php’,
type: ‘post’,
data: { productID: 101},
datafields: [
{ name: ‘COD_PPG’, type: ‘int’},
{ name: ‘Id_StkProd’, type: ‘int’}
]
Now, I’m asked to move this from php to Java and Servlets.
Is this possible ? I mean, I’ve no problem with developing a servlet that returns same json info as php does. But I dont know if the library will support this.