Re: instantiation of actionforms in session scope

2005-07-22 Thread Martin Morawetz
And here comes the solution, damm it. I put an object with properties which didn't implement the Serializable Interface into the Session. In the resin.conf (we still use Resin Version 2.1.6) true was set. So when Resin loads the session, it couldn't load the property and didn't load all other pro

Re: instantiation of actionforms in session scope

2005-07-22 Thread Martin Morawetz
Martin Morawetz schrieb: Hi to all, I use a formbean within session-scope (declared in struts-config.xml). However it behaves like it would be within request-scope. Every new page it gets instantiated again. I checked the sessionid and it is every page the same, so I guess am within the same

Re: instantiation of actionforms in session scope

2005-07-22 Thread Martin Morawetz
07/19/2005 07:12 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: instantiation of actionforms in session scope Thanks a lot for your answer. &g

Re: instantiation of actionforms in session scope

2005-07-20 Thread Michael Jouravlev
On 7/20/05, Martin Morawetz <[EMAIL PROTECTED]> wrote: > I thought, the supposed behavior is that a bean declared to be within > session-scope lives within the session as long as the session lives. > And if it doesn't exist, it gets created by the struts-framework. Yep. If you use nested business

Re: instantiation of actionforms in session scope

2005-07-20 Thread Martin Morawetz
"Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: instantiation of actionforms in session scope Thanks a lot for your answer. > There could be several poteintal problems. > > 1) make sure the JSP do

Re: instantiation of actionforms in session scope

2005-07-19 Thread BHansard
s the bean? Martin Morawetz <[EMAIL PROTECTED]> Martin Morawetz <[EMAIL PROTECTED]> 07/19/2005 07:12 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: instantiation of actionforms in session scope Thanks

Re: instantiation of actionforms in session scope

2005-07-19 Thread Martin Morawetz
Thanks a lot for your answer. There could be several poteintal problems. 1) make sure the JSP does not have the session=false page directive set. It doesn't. 2) Make sure you are referencing the form using the same name as you have it defined in the struts config (remember capitalization

Re: instantiation of actionforms in session scope

2005-07-18 Thread BHansard
There could be several poteintal problems. 1) make sure the JSP does not have the session=false page directive set. 2) Make sure you are referencing the form using the same name as you have it defined in the struts config (remember capitalization does count). 3) Make sure you are accessing the