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
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
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
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
"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
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
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
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
8 matches
Mail list logo