Когда я изменяю @RequestBody
на @RequestParam
, он выдает это исключение.
![this is what hearers show](https://i.stack.imgur.com/w9rP0.png)
Он выбрасывает title' not exit
, но я определил заголовок в бине ![it throws out](https://i.stack.imgur.com/n5l8V.png)
@RequestMapping(value="post")
public void throwpost(@RequestParam(value="title") String title,@RequestParam(value="destination") String destination,
@RequestParam(value="time") String time,@RequestParam(value="plan") String plan){
System.out.println("dd");
System.out.println(title);
System.out.println(destination);
//System.out.println(threshold);
System.out.println(time);
System.out.println(plan);
//postservice.makepost(title,plan, destination,threshold, time);
}