on 06-29-2015 4:55 PM
Hello to everybody,
I would like to set up a service which should be accessible using the path /rest/myservice (without the base site name); is it enough to configure this way @ RequestMapping(value = "/myservice")? Thank you in advance.
When you add such mapping to your controller, you will have it under "rest/v2/myservice" resource (assuming it is version 2 controller). To get rid of "v2" part you also need to change the configuration of v2 servlet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Thank you very much Lukasz, you have been very helpful!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.