Struts creates its own session object?

2006-01-19 Thread Martin Morawetz
Hi, We have two web applications, a Struts-application and a strutsless application. Both web applications have to use the same session. It appears that both apps do have a session with the same id, but the session-objects are different and so all the attributes the two session-objects contain.

Re: instantiation of actionforms in session scope

2005-07-22 Thread Martin Morawetz
load all other properties too. That's why I was always in the same session, but always lost the# session attributes. Thanks to all for you input -- Regards Martin Martin Morawetz schrieb: Martin Morawetz schrieb: Hi to all, I use a formbean within session-scope (declared in struts-con

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
explicitly calling the getAttribute("wizardForm"). When you say that it is instantiated with every new page, how are you attempting to access the bean? Martin Morawetz <[EMAIL PROTECTED]> Martin Morawetz <[EMAIL PROTECTED]>

Re: instantiation of actionforms in session scope

2005-07-20 Thread Martin Morawetz
tions in the struts-config.xml: : : : : Martin Morawetz <[EMAIL PROTECTED]> Martin Morawetz <[EMAIL PROTECTED]> 07/19/2005 07:12 AM Please respond to

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

instantiation of actionforms in session scope

2005-07-18 Thread Martin Morawetz
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 http-session. Does anyone ha