We know @RequestParam is a good way to get query parameters like "?name=Tom" for example:
www.example.com/?name=Tom
and you can use
@RequestParam(value="name") String name
to get the key "name".
But how to get the query string without equal sign such as:
www.example.com/?1+1
There is no key-value pair in this case and I can't find the answer from the internet because basically query string is used by key-value case.
Btw, the Framework has to be SpringBoot with Java, and also html for Thymeleaf.