所以我想说我有这样的控制器代码 -
@RequestMapping(value = "/graph/{graphName}/index/{indexName}/")
@ResponseBody
public ResponseEntity<String> getResponse(
@PathVariable String graphName,
@PathVariable String indexName,
@RequestParam(value = "searchTerms") List<String> searchTerms) {
System.out.println("IN CONTROLLER");
System.out.println(searchTerms);
我打的网址看起来像这样
graph/graph1/index/index1/?searchTerms=123+456
当我查看搜索字词时,我看到[123 456] - 我如何制作以便获得[123 + 456]?