문제

I am working on some legacy code running Spring 2.5. I need to use something similar to Spring 3's @PathVariable...anything similar available in Spring 2.5?

도움이 되었습니까?

해결책

The closest you'll probably get is through ant-style wildcards in mapping paths. You will then have to parse the path manually in your method to get the variable value, I guess.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top