Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 25675 invoked from network); 4 Mar 2009 18:47:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2009 18:47:29 -0000 Received: (qmail 88826 invoked by uid 500); 4 Mar 2009 18:47:20 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 88808 invoked by uid 500); 4 Mar 2009 18:47:20 -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 88797 invoked by uid 99); 4 Mar 2009 18:47:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 10:47:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [132.205.96.94] (HELO perseverance.services.encs.concordia.ca) (132.205.96.94) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 18:47:12 +0000 Received: from cacao.encs.concordia.ca (emilu@cacao.encs.concordia.ca [132.205.47.225]) by perseverance.services.encs.concordia.ca (envelope-from emilu@encs.concordia.ca) (8.13.7/8.13.7) with ESMTP id n24IkofT019443 for ; Wed, 4 Mar 2009 13:46:50 -0500 Message-ID: <49AECC9A.6020202@encs.concordia.ca> Date: Wed, 04 Mar 2009 13:46:50 -0500 From: Emi Lu Reply-To: emilu@encs.concordia.ca User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Possible to return ibatis query in xml file? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on perseverance.encs.concordia.ca at 2009/03/04 13:46:50 EST X-Virus-Checked: Checked by ClamAV on apache.org Good morning, I have a question based on ibatis + struts. Would it be possible that in java code, I could get the query in ibatis. For example, in ibatis_query.xml In java, =============== public ActionForward execute( ActionMapping mapping, ActionForm aform, HttpServletRequest request, HttpServletResponse response) throws Exception { String ibatis_sql = ***(something need to know).getQuery("test", null); ... ... } Thanks a lot! Lu Ying --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org