Hi,
Our current implementation invloves passing a serialised object via a GET request to a Sling servlet, it is deserialsed, the object is added as a request attribute and forwarded to a relavent JSP page depending on a property in the object.
This implementation will not work for large amounts of data due to the limitations of HTTP GET. HTTP POST requests do not work in Adobe CQ as it thinks that we are modifing the resource.
We need another way to pass in our object to the Servlet and return HTML. How is this possible/feesable in Adobe CQ?
Thanks,
Ryan
Solved! Go to Solution.
Views
Replies
Total Likes
Making HTTP POSTs is fine in CQ. You just need to ensure that the request is being sent to the correct servlet (which it doesn't sound like it is).
Views
Replies
Total Likes
POST request is fine
When you wish to give post request
Then in your sling servlet give method="POST" i.e. @SlingServlet{path=".." method="POST" ...}
Views
Replies
Total Likes
Making HTTP POSTs is fine in CQ. You just need to ensure that the request is being sent to the correct servlet (which it doesn't sound like it is).
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies