1
Personal I am when runs the page to generate the json it only tras null , already I checked it is taking the data of the database the stranger and q is giving this message :
Information: Scanning for root Resource and Provider classes in the Packages: Resource Information: Root Resource classes found:
class Resource.stockResource Information: In the classes Provider found. Information: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27 AM'
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Resource;
import Controller.estoqueControler;
import Model.ESTOQUE;
import java.util.ArrayList;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
/**
*
* @author Felipee[![inserir a descrição da imagem aqui][1]][1]
*/
@Path("/estoque")
public class estoqueResource {
@GET
@Path("/Estoque")
@Produces("application/json")
public ArrayList<ESTOQUE> ESTOQUE() {
return new estoqueControler().ESTOQUE();
}
}
Post the code.
– rubStackOverflow
post , just can’t leave the right way there
– Felipe
someone ???
– Felipe