ah yes ! I forgot the location of this method. thanks for your reply

Christophe


2009/9/7 Eric Norman <[email protected]>:
> Hi Christophe,
>
> Try this:
>
> <%
>   var isValid = true; //TODO: your condition here
>   if (!isValid) {
>       //TODO: handle invalid condition here
>   } else {
>      //condition is valid, so forward to the default post servlet to do the
> work.
>      sling.forward(resource.path, "sling/servlet/default");
>   }
> %>
>
> On Mon, Sep 7, 2009 at 8:07 AM, Christophe Lombart <
> [email protected]> wrote:
>
>> Hi all,
>>
>> In a POST esp script, I would to redirect to the default POST
>> processing depending on some conditions.
>> Is it possible to redirect to the default POST servlet from a esp
>> script ? I didn't find some examples.
>>
>> br,
>> Christophe
>>
>

Reply via email to