struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Ghotankar <ghotankaru...@gmail.com>
Subject Re: Model Driven & Preparable
Date Wed, 14 Jul 2010 12:44:16 GMT
My interceptor stack is as below

                <interceptor-ref name="exception"></interceptor-ref>
                <interceptor-ref name="prepare"></interceptor-ref>
                <interceptor-ref name="model-driven"></interceptor-ref>
                <interceptor-ref name="params"></interceptor-ref>

Please guide.



On Tue, Jul 13, 2010 at 4:27 PM, Amol Ghotankar <ghotankarua50@gmail.com>wrote:

> Dear List members,
>
>
> I have implemented model driven & prepare able interface in S2, also
> included interceptor stack
>
> My method call flow is
>
>  1.prepare  2.getModel  3.getModel
> Why does getModel gets called twice. Is it to useful to call it twice or is
> my config setting wrong somewhere.
>
> Also I create a object in my prepare method, but this method creates new
> object every-time rather than using the created object in previous prepare.
>
>
>
> With Best Regards,
>
> Amol Ghotankar
>
>


-- 


With Best Regards,

Amol Ghotankar
Technical Director
Cursive Technologies Pvt. Ltd.
104, A1 Wing, W Sector,
Masulkar Colony, Ajmera,
Pimpri, Pune-18 INDIA
O: +91 2020 270 570
M: +91 9960 980 419
www.cursivetech.com


CURSIVE TECHNOLOGIES EMAIL NOTICE
The information contained in this email and any attachments is confidential
and may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or
disclose this information, and we request that you notify us by reply mail
or telephone and delete the original message from your mail system.

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