struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kepper <kep...@diefirma.de>
Subject Re: Problem accessing GET parameter in Struts2
Date Thu, 13 Mar 2008 17:29:14 GMT
Thanks to your hint I found the mistake :-)

Dave Newton wrote:
>> I tried to get some debug information from the params interceptor and 
>> put the following code into my struts.xml (inside the action):
>> <interceptor-ref name="params">
>>    <param name="logEnabled">true</param>
>>    <param name="logLevel">DEBUG</param>
>> </interceptor-ref>
> 
> Nate that when you use an interceptor-ref element inside an action
> configuration then *only* that interceptor-ref will be configured for that
> action: this means that in this case if this is the only interceptor-ref
> inside the action element then *only* the "params" interceptor will be run
> for that action. This is probably not what you want.
> 

After inserting the basicStack interceptor into the action, the variable 
was correctly initialized:

<interceptor-ref name="params" />
<interceptor-ref name="basicStack" />

Nevertheless, I still don't get any log info from the interceptors.

Christoph

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


Mime
View raw message