Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 62686 invoked from network); 14 Jul 2010 12:44:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jul 2010 12:44:51 -0000 Received: (qmail 97936 invoked by uid 500); 14 Jul 2010 12:44:49 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 97558 invoked by uid 500); 14 Jul 2010 12:44:45 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 97550 invoked by uid 99); 14 Jul 2010 12:44:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 12:44:44 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ghotankarua50@gmail.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vw0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 12:44:37 +0000 Received: by vws10 with SMTP id 10so10156008vws.35 for ; Wed, 14 Jul 2010 05:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=nVPWw4SnNfJHoASKxJGofuyGsl7luzommWcc3BRSQEo=; b=iKnXnodFND01eWmYuqd8Dh3OuH0LUR4bq0MT6ZP7pgHfq7DaCTQKDVLtVLHzg1kB8g p52NVLgX+2F/KAsPXYHRloFW1H0EskwMU2+O0emPILFGk4iwJEfi4xltN+/R17e/ekVD 75xiym7GZ2LMrO05umjAy9MjUbXbTf59EQ5h0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Eo6016zV5dxBRHUVHpYQHuiMKvV7WI3Fc5kx7NQch/MDaybgZH+T+wPLX1i8neQS6o pmjvf7OHQd00wBsmCujQYzWg6T8ui6iXalaCVjKOeWQP4EWG+ARX+O4hD5b4coonx+Ly CuDUqldgnfQuNwpfXUZKFQM/8YGxBgLhvQOHQ= MIME-Version: 1.0 Received: by 10.220.62.5 with SMTP id v5mr8694623vch.101.1279111456188; Wed, 14 Jul 2010 05:44:16 -0700 (PDT) Received: by 10.220.192.12 with HTTP; Wed, 14 Jul 2010 05:44:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Jul 2010 18:14:16 +0530 Message-ID: Subject: Re: Model Driven & Preparable From: Amol Ghotankar To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=e0cb4e887ee9f96919048b5857b4 X-Virus-Checked: Checked by ClamAV on apache.org --e0cb4e887ee9f96919048b5857b4 Content-Type: text/plain; charset=ISO-8859-1 My interceptor stack is as below Please guide. On Tue, Jul 13, 2010 at 4:27 PM, Amol Ghotankar 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. --e0cb4e887ee9f96919048b5857b4--