문제

I'm creating a web application containing RESTful webservices and I was wondering how I can properly integrate HDIV with this part of my webapp.

For now, I'm defining each webservice URL as startPage:

<hdiv:startPages>/ws/ws1,/ws/ws2,...</hdiv:startPages>

Is there a way to change that? does <hdiv:startPages>/ws/*</hdiv:startPages> or something like that exists?

도움이 되었습니까?

해결책

You can use Java patterns to define start pages:

<hdiv:startPages>/ws/.*</hdiv:startPages>

Anyway, you can try Spring HATEOAS and Hdiv's experimental integration to securize the REST services.

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