lass 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 they
> all are prefilled from the page.Can anyone explain why it gets invoked
> twice ?.
>
--
View this message i
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:
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Tomas Jurman
Czech Republic
--
View this message in context:
http://www.nabble.com/Prepare-method-being-invoked-twice-tp18978969p18988306.html
Sent from the Struts - User mailing list archive at Nabble.com
--- 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
> > Lukasz
> > http://www.lenart.org.pl/
> >
> >
> -----------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 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/
-
---
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Prepare-method-being-invoked-twice-tp18978969p18979442.html
Sent fr
> 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
all
are prefilled from the page.Can anyone explain why it gets invoked twice ?.
--
View this message in context:
http://www.nabble.com/Prepare-method-being-invoked-twice-tp18978969p18978969.html
Sent from the Struts - User mailing list archive at Nabble.com
9 matches
Mail list logo