I new to servlet and trying to find a way to get the values from url for example /api/v1/http://localhost:8080/getInfo/product/1/order/22
So I know how to map url getInfo
in web.xml. All I am looking for a way to get the product value and order value from url. How we do this in servlet? Any direction will be very helpful.
Thanks