I'm using the restDefaultStack together with my AuthenticationInterceptor
(which only checks for a token on the session and when inexistent sends the
user to login):

<interceptor-stack name="authenticationStack">
        <interceptor-ref name="restDefaultStack" />
        <interceptor-ref name="authenticationInterceptor" />
</interceptor-stack>

//Christoffer


Maurizio Cucchiara wrote:
> 
> What interceptor stack are you using?
> 
> Maurizio Cucchiara
> 
> Il giorno 21/lug/2011 13.56, "christoe" &lt;christof...@enqvi.st&gt; ha
> scritto:
>> I think the JIRA issue explains the general setup quite well:
>>
>> "After upgrading from 2.2.1.1 to 2.2.3 input validation fails (i.e.
> invalid
>> input values), and returns Action.NONE instead of Action.INPUT. Log
>> (TRACE-level) doesn't show anything interesting. Completely removing
>> result-definition does not result in "result not defined-error".
> Downgrading
>> to 2.2.1.1 fixes the problem again.
>>
>> Action/Controller extends ActionSupport and implements ModelDriven.
> Results
>> are defined using annotations. After debugging the Struts2-code it seems
> as
>> if result is null at line 295 in RestActionInvocation.java."
>>
>> I'm using both self written validators and standard validators for
>> validating form input (in a jsp). But when validation fails, instead of
>> returning Action.INPUT which would return the user to the form while
>> displaying error messages - the validation results in Action.NONE which
> and
>> thus a blank page. I realised that this only occurs in Struts 2.2.3. I
> guess
>> the question is; was something changed in the validation code between
> Struts
>> version 2.2.1.1 and 2.2.3 that I need to handle?
>>
>> //Christoffer
>>
>>
>> Dave Newton-6 wrote:
>>>
>>> It'd be easier to diagnose/discuss if we knew more about your
>>> config/etc.
>>>
>>> Dave
>>>
>>> On Thursday, July 21, 2011, christoe &lt;christof...@enqvi.st&gt; wrote:
>>>> Hi,
>>>>
>>>> Is anyone else experiencing this? I posted a JIRA issue some time ago
>>>> at
>>>> https://issues.apache.org/jira/browse/WW-3654 - but since noone else
>>>> has
>>>> reported problems with this (that I can see) I'm wondering if it's me
>>>> doing
>>>> something wrong?
>>>>
>>>> --
>>>> View this message in context:
>>>>
> http://struts.1045723.n5.nabble.com/Failed-validation-returns-Action-NONE-instead-of-Action-INPUT-in-Struts-2-2-3-tp4618385p4618385.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>
>>
>> --
>> View this message in context:
> http://struts.1045723.n5.nabble.com/Failed-validation-returns-Action-NONE-instead-of-Action-INPUT-in-Struts-2-2-3-tp4618385p4619113.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
> 


--
View this message in context: 
http://struts.1045723.n5.nabble.com/Failed-validation-returns-Action-NONE-instead-of-Action-INPUT-in-Struts-2-2-3-tp4618385p4619151.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to