With this configuration Struts2 filter intercepts all requests.
To exclude your /service/*
requests use struts.action.excludePattern
constant:
<constant name="struts.action.excludePattern" value="/service/.*" />
More Related Contents:
- When do I use path params vs. query params in a RESTful API?
- How to create REST URLs without verbs?
- What’s the best RESTful method to return total number of items in an object?
- RESTful – What should a DELETE response body contain
- Swagger UI passing authentication token to API call in header
- Hyphen, underscore, or camelCase as word delimiter in URIs?
- SOAP vs REST (differences)
- What are best practices for REST nested resources?
- How can I handle many-to-many relationships in a RESTful API?
- How to version REST URIs
- XDebug and RESTful server using PHPStorm or POSTman
- REST Complex/Composite/Nested Resources [closed]
- What is the advantage of using REST instead of non-REST HTTP?
- What is REST? Slightly confused [closed]
- How do I use the Jersey JSON POJO support?
- powershell invoke-restmethod multipart/form-data
- Transactions across REST microservices?
- Designing URI for current logged in user in REST applications
- RESTful Services – WSDL Equivalent
- Listing all deployed rest endpoints (spring-boot, jersey)
- How to get full REST request body using Jersey?
- Spring 4 RestController JSON: characteristics not acceptable according to the request “accept” headers
- Is That REST API Really RPC? Roy Fielding Seems to Think So
- Flutter fetched Japanese character from server decoded wrong
- HTTP PATCH support in browsers
- How to do a PUT request with cURL?
- What REST PUT/POST/DELETE calls should return by a convention?
- How should I log uncaught exceptions in my RESTful JAX-RS web service?
- Jersey client exception: A message body writer was not found
- Get/post to RESTful web service