java - hide or remove the path in REST web service -


how hide or remove project path in rest web service using java? , run web service using curl command curl -x put http://localhost:8080/project/resources/user/bucket

but in cdmi standard (snia), request put /user/bucket

i wonder how request or hide or remove project path "/project/resources". want request snia without giving /project/resources if knows, please give info . thanks

it looks trying configure root resource 'user'. jersey documentation has example of configuring root resource here: http://jersey.java.net/nonav/documentation/latest/getting-started.html#d4e53

specifically notice 'path' annotation '@path("/helloworld")'. guess root user resource path set /project/resources/user. may in classes netbeans generated you.


Comments