I was wondering if I can customize my url into controller to accept null values
@RequestMapping(
value = "foo/{y}/{x}",
method = RequestMethod.GET)
public ModelAndView doSmth(@PathVariable(value = "x") String x,
@PathVariable(value = "y") String y) {
}
Here in my case , X , Y can be empty string . How could I manage smth like that to let this method on the controller to handle this url ?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)