0

I've a question

Is there difference @RequestMapping(value="/abc") and @RequestMapping(value="abc") ??

In my spring project, they are running a little difference. Actually not a little.

could you tell me the difference?

wazz
  • 11
  • 5
  • @user85421 I misunderstood your answer. I accepted your comment and Alexander's also. – wazz Dec 08 '19 at 05:38

1 Answers1

1

I'm not an expert, but i haven't seen any difference when changed my controllers code. But it's a better practice to write @RequestMapping("/this") instead of @RequestMapping("this"), because it's better seen. I hope it helps.

mulaczos
  • 23
  • 7