Announcement Announcement Module
Collapse
No announcement yet.
security:authorize and REST URI Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • security:authorize and REST URI

    Hi,

    I want to use security:authorize tag with REST uri

    Code:
    <security:authorize method="GET"
    				url="<c:url value='/micro/partner/${partner.id}/form'/>">
    </security:authorize>
    I do understand why the above generates the following error:
    Code:
    org.apache.jasper.JasperException: /WEB-INF/jsps/partner/show.jsp(30,3) According to TLD or attribute directive in tag file, attribute url does not accept any expressions
    because tag says the attribute url can't be runtime expression value. This ruls out REST URIs (Update, Delete)

    Thanks
Working...
X