Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 66587 invoked from network); 27 Jun 2008 14:58:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 14:58:30 -0000 Received: (qmail 78514 invoked by uid 500); 27 Jun 2008 14:58:22 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 78495 invoked by uid 500); 27 Jun 2008 14:58:22 -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 78484 invoked by uid 99); 27 Jun 2008 14:58:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 07:58:22 -0700 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: domain of lukasz.lenart@googlemail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 14:57:29 +0000 Received: by wf-out-1314.google.com with SMTP id 26so484909wfd.26 for ; Fri, 27 Jun 2008 07:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=I040pUu7EEHkv3XF4lJiz5lOusURMWTKSPl3xzB3Vw4=; b=E7vKHz1qeRS0mFMA6sqnJhXsRYO90GpfRwDgINx7dt2WEapnvW4X1m8gXDXtD+xnEq LvqXy7nXM46J4RX4zgvctHYKJap58/bF5gsl4QwvUkUuVfNFrShrVN+x/aYnB6VwCmXD 5y0AWfychbfUCvO8tNTdPkWw6nXrbiTmu70Ns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jFBqR+12gOWaUJJqjcNe+hHm8I6JlBKQPRt6EipHh2unKztfD6OjYK23Eyq8dzoOc+ x/J0LX9LJohnFP9L3CWEGZdA06tvhqxXhZ+53TCMqFSDRV8gVaQq3lvlkwQ/Ra1LG+SF SpDXvaBRQlXtyPAcRyle8pM4sHTLn9/hkFeXw= Received: by 10.142.255.14 with SMTP id c14mr540332wfi.296.1214578651897; Fri, 27 Jun 2008 07:57:31 -0700 (PDT) Received: by 10.142.47.1 with HTTP; Fri, 27 Jun 2008 07:57:31 -0700 (PDT) Message-ID: <9f960bad0806270757p47b4b72eq75996973cac335c6@mail.gmail.com> Date: Fri, 27 Jun 2008 16:57:31 +0200 From: "Lukasz Lenart" To: "Struts Users Mailing List" Subject: Re: LazyInitializationException with Struts 2 + Spring 2 + JPA + AJAX application In-Reply-To: <18156895.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18155823.post@talk.nabble.com> <287197.50273.qm@web56706.mail.re3.yahoo.com> <18156895.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org > I see that I can use OpenSessionInViewFilter, just I now need some example > for this kind of application. Example: contextConfigLocation /WEB-INF/classes/application-context*.xml webAppRootKey app.webroot log4jConfigLocation /WEB-INF/classes/log4j.properties openSessionInView org.springframework.orm.hibernate3.support.OpenSessionInViewFilter encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true openSessionInView /* encodingFilter /* org.springframework.web.util.Log4jConfigListener org.springframework.web.context.ContextLoaderListener Regards -- Lukasz http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org