Re: Dispatching in POST requests like in GET

2009-08-17 Thread Felix Meschberger
Hi Matthias, Matthias Wermund schrieb: > after just reading for some week it's now time for my first own question. So, welcome then ;-) To recapitulate: Your requests are generally POST requests due to the legacy nature of the application. But once entering the system, the requests should not be

Re: Dispatching in POST requests like in GET

2009-08-17 Thread Alexander Klimetschek
Hi, a quick answer: 1) to handle POSTs, you must extend SlingAllMethodsServlet, since POST is not a safe method ;-) 2) you say you don't want to subclass / write a POST.java for each component, but they should have a specific behaviour, ie. at least "override" the default sling post servlet beha

Re: Dispatching in POST requests like in GET

2009-08-17 Thread Matthias Wermund
:22 Subject:Dispatching in POST requests like in GET Hello to everyone, after just reading for some week it's now time for my first own question. I want to integrate a legacy application in a website based on Sling (in Day CQ5). This legacy application renders itself using Portlet

Dispatching in POST requests like in GET

2009-08-17 Thread Matthias Wermund
Hello to everyone, after just reading for some week it's now time for my first own question. I want to integrate a legacy application in a website based on Sling (in Day CQ5). This legacy application renders itself using Portlets, so it enforces the use of POST forms if the user submits any dat