Re: Loosing my form bean instance...

2005-07-12 Thread Brett
abago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, July 12, 2005 8:59 AM Subject: Re: Loosing my form bean instance... In that case, it'd be the case mismatch between what your JSP is looking for and how your form is configured in struts-config.xml:

Re: Loosing my form bean instance...

2005-07-12 Thread Martin Gainty
Is there a reason why you are creating a temporary form object in your execute instead of using the original? M- - Original Message - From: "Hubert Rabago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, July 12, 2005 8:59 AM Subject

Re: Loosing my form bean instance...

2005-07-12 Thread Hubert Rabago
In that case, it'd be the case mismatch between what your JSP is looking for and how your form is configured in struts-config.xml: Hubert On 7/12/05, Brett <[EMAIL PROTECTED]> wrote: > Apologies > > The session and request scope discrepency was in there by mistake - that > was me debugging.

Re: Loosing my form bean instance...

2005-07-12 Thread Brett
Apologies The session and request scope discrepency was in there by mistake - that was me debugging. Originally all was set to request. Unfortunatley it makes no difference whether it is all set to request or session. So it's something else! Brett Hubert Rabago wrote: The form you're popul

Re: Loosing my form bean instance...

2005-07-12 Thread Hubert Rabago
The form you're populating in your action is not the same instance you're accessing in your JSP. Your JSP is looking for the form in session scope, but you've configured your action to receive its form in request scope, so you're actually using two forms. Remove the 'scope="request"' in the "/apa

Re: Loosing my form bean instance...

2005-07-12 Thread Wendy Smoak
From: "Brett" <[EMAIL PROTECTED]> What should happen next is that my display page is shown and accesses my form bean using the getters to retrieve the appropriate data values. However when the action calls findforward, and the display page is called, it seems to create a new instance of my form

Re: Loosing my form bean instance...

2005-07-12 Thread Brett
sage - From: "Brett" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Tuesday, July 12, 2005 7:23 AM Subject: Loosing my form bean instance... Hi I have a problem that is driving me crazy. I have a fairly simple struts web app with a jsp form that submits to a form bea

Re: Loosing my form bean instance...

2005-07-12 Thread Martin Gainty
Brett- Can we see the code for your Bean com.ftid.mis.form.apache_connection_stats ? specifically the getSql_stmt() method ? Martin- - Original Message - From: "Brett" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Tuesday, July 12, 2005 7:23 AM Subject

Loosing my form bean instance...

2005-07-12 Thread Brett
Hi I have a problem that is driving me crazy. I have a fairly simple struts web app with a jsp form that submits to a form bean, with an action set up and a display page. I have built a few struts apps and never had such a basic problem: The jsp submits the data and the form bean recieves it