سؤال

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