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:
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
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.
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
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
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
Sure:
/**
* Getter for property sql_stmt.
* @return Value of property sql_stmt.
*/
public String getSql_stmt() {
return this.sql_stmt;
}
However this is not the problem. I have tried many different getters and
indeed in the debugger I have looked at the variab
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 insta
8 matches
Mail list logo