RE: session form bean problem -- post again.

2005-01-04 Thread t t
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

RE: session form bean problem -- post again.

2005-01-04 Thread David G. Friedman
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

RE: session form bean problem -- post again.

2005-01-04 Thread t t
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

RE: session form bean problem -- post again.

2005-01-03 Thread David G. Friedman
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

Re: session form bean problem --more code

2004-12-23 Thread t t
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

Re: session form bean problem

2004-12-23 Thread Bill Siggelkow
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