I\'m building REST web app using Netbean 7.1.1 Glassfish 3.1.2
REST
Netbean 7.1.1 Glassfish 3.1.2
I have 2 URL:
\"http://myPage/resource/getall/name\" (get some
@GET @Path("getall{name:(/[^/]+?)?}") @Produces("application/json") public Object Getall(@PathParam("name") String customerName) { //here I want to call SQL if customerName is not null. is it possible??? }