Finally i figured out the issue.The problem was that i had mistakenly
incorporated struts "defaultStack" prior to paramsPrepareParamsStack in the
large set of interceptors that i had used . The prepare interceptor in the
default stack and again in paramsPrepareParamsStack was causing invocation
Kibo wrote:
Hi
When you see struts-default.xml, you find out that the
paramsPrepareParamsStack call the interceptor params twice.
You can set up your struts-default.xml or in struts.xml define your own
modified interceptor stack:
Hi
When you see struts-default.xml, you find out that the
paramsPrepareParamsStack call the interceptor params twice.
You can set up your struts-default.xml or in struts.xml define your own
modified interceptor stack:
--- On Thu, 8/14/08, Lukasz Lenart wrote:
> Just leave prepare() empty (you can also setup interceptor to don't
> call prepare() method) and implement prepare()
IMO it's preferable to simply not implement prepare() rather than leave it
blank (which is misleading).
Configuring a Preparable actio
--- On Thu, 8/14/08, Jayeshpowar wrote:
> Thanks Lukasz for quick reply. But the action class that has
> the prepare method has four methods.
The salient point was that prepare() will be called before any method in the
class, regardless of how many methods the class has.
If you're calling a sing
> Thanks Lukasz for quick reply.But the action class that has the prepare
> method has four methods .
Just leave prepare() empty (you can also setup interceptor to don't
call prepare() method) and implement prepare()
Regards
--
Lukasz
http://www.lenart.org.pl/
-
Thanks Lukasz for quick reply.But the action class that has the prepare
method has four methods .
Lukasz Lenart wrote:
>
>> I have an action class which implements preparable . It works fine but i
>> noticed that the prepare method inside the action class gets invoked
>> twice
>> before getting
> I have an action class which implements preparable . It works fine but i
> noticed that the prepare method inside the action class gets invoked twice
> before getting to the intended method.In first invocation the variables
> inside the action class are all null , However in second invocation the
8 matches
Mail list logo