struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: What is the effect of Params Interceptor?
Date Sun, 25 Nov 2012 11:20:17 GMT
Params interceptor is used in Injecting the Request Parameters into the
Action, either individually or (using the ParameterAware interface) all at
once.
  (*Chris*)


On Sun, Nov 25, 2012 at 3:07 AM, Wu Ming <rdyf4ever@gmail.com> wrote:

> I read this tutorial<
> http://www.tutorialspoint.com/struts_2/struts_interceptors.htm>,
> but I don't understand what Params Interceptor is used for?
>
> Example:
>
> <action name="someAction" class="com.examples.SomeAction">
>     <interceptor-ref name="params"/>
>     <result name="success">result.jsp</result>
> </action>
>
>
> If the timer interceptor being used, we will see this kind of message:
>
> *INFO: Executed action [//hello!execute] took 109 ms.*
>
>
> But what about params interceptor? What would happened if it's used? I
> tried and don't see anything.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message