particular fields from ANY
of the stored beans I choose to show. It works well with multi-page
validation schemes.
Regards,
David
-Original Message-
From: t t [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 10:21 AM
To: Struts Users Mailing List
Subject: RE: session form bean probl
l with multi-page
validation schemes.
Regards,
David
-Original Message-
From: t t [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 10:21 AM
To: Struts Users Mailing List
Subject: RE: session form bean problem -- post again.
Thanks, David. Could you please give a simple example to
Thanks, David. Could you please give a simple example to explain how to
"specify another bean"?
"David G. Friedman" <[EMAIL PROTECTED]> wrote:T.T.,
If you want to display something form the session object stored with
"Constants.USER_KEY" in /search.jsp (your "success" forward), you don't need
to
T.T.,
If you want to display something form the session object stored with
"Constants.USER_KEY" in /search.jsp (your "success" forward), you don't need
to copy the values in your Action's execute() method. Just specify another
bean (in any scope) with the 'name="User"' attribute/value pair. Of
Thanks. Here is the code:
---
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
HttpSession session = request.getSession();
User user = (Use
Hmm .. please include the code from the PopulateAction.
t t wrote:
Hi, all,
First, happy holidays to you!
I got a question. I have such action mapping:
type="myClasses.PopulateAction"
name="SearchForm"
scope="request"
v
6 matches
Mail list logo