just to know : why do you speak about "loanReconciliation.action" ?
Your web.xml speaks about "*.do" ...
Mike
Ravi Mangalagiri a écrit :
Dave,
Thats what I though initially but it doesn't look that way...........
When I go to my action meaning -
http://localhost:7001/ESS/queryReport/popup/loanReconciliation.action
I get a lazy-load exception.........
but then I create a new jsp and goto the same action using s:action as
show
below ...... it works
<body>
<table cellpadding="0" cellspacing="10" border="0" width="100%">
<tr><td align="center">
<s:action namespace="/queryReport/popup" name="loanReconciliation"
executeResult="true" />
</td></tr></table>
</body>
any ideas..........
On 3/7/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Ravi Mangalagiri <[EMAIL PROTECTED]>
wrote:
> When I debug ..... looks like the
OpenSessionInViewFilter
> keeps the session open after the jsp is painted. I
don't
> understand why the session is not kept open around
the actual
> action method executed.
This is a Hibernate issue, not S2.
I am using the OpenSessionInView filter with no
difficulties;
the issues I have had in the past have been related to
either
how the DAOs are generated (I modified the default
HibernateTools
templates) and Hibernate configuration.
> <filter>
> <filter-name>lazyLoadingFilter</filter-name>
> <filter-class>
>
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
> </filter-class>
> </filter>
FWIW, you may want to consider definined both
sessionFactoryBeanName and singleSession
filter init-params.
> [filter-mappings]
Also FWIW, I have the viewSession filter at the
beginning of
my filter-mappings so I know it will wrap everything.
If you
define it after the struts filter that could cause a
problem.
(Note: I don't *know* that it would cause a problem.)
d.
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mike Baroukh
---
Cardiweb - 31 Rue de Mogador Paris IXeme
06 63 57 27 22 - 01 53 21 82 63 - Jabber: [EMAIL PROTECTED]
http://www.cardiweb.com
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]