Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

yola manuel

Greenhorn
+ Follow
since Sep 24, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by yola manuel

This is the link
Localhost:8080/projectName/check-if-exists?iDPassport=1
10 months ago
i am an absolute beginner and i am failing to access this /check-if-exists on the url, i am getting a 404 error.


@RequestMapping(
           value = "/check-if-exists",
           method = RequestMethod.GET,
           produces = "application/json",
           headers = "Accept=application/json")
   public @ResponseBody
   Integer processTeachers(HttpServletRequest request,@RequestParam("iDPassport") String iDPassport) {
 System.out.println("the id is "+iDPassport);
 
 Integer occurrances = sectionDService.getTeacherOccurencesById(iDPassport);
           
       return occurrances;
   }
10 months ago