my service code :
@RequestMapping(value = "/projects/{projectId}/resources/web/{path}", method = RequestMethod.GET)
@ResponseBody
public void getWebFileContent(@PathVariable("projectId") String projectId,@PathVariable("path") String path, HttpServletRequest httpServletRequest) throws Exception {
}
And my request will be
- /projects/pro1/resources/web/src/main/webapp
- /projects/pro1/resources/web/src/main/test/com/pro1...
and is it possible to get "src/main/webapp/../....." into "path" variable