yes, store your BO in request
>-Original Message-
>From: Pradeep, PK [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 25, 2004 10:21 PM
>To: Struts Users Mailing List
>Subject: RE: data transfer from Action class to jsp page
>
>
>Sending the same question
Just to expand on what Max said,
1. create a ActionForm
i.e. class MyForm extends ActionForm
2. define attributes that you want to show on the jsp
i.e. name, street, city, zip
3. you can optionally define validate() and reset() methods
4. define your form bean in struts-config.xml
5. associ
Put it in the ActionForm.
-Max
- Original Message -
From: "Pradeep, PK" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 6:51 AM
Subject: data transfer from Action class to jsp page
I have this basic question.
Suppose acti
from Action class to jsp page
Sending the same question again..
I have this basic question.
Suppose action class calls some business object and fetches some data (say
employee detail). How to transfer this data to jsp page which is reached
through ActionForward?
One way I know is storing the
Quoting "Pradeep, PK" <[EMAIL PROTECTED]>:
> Sending the same question again..
>
>
> I have this basic question.
>
> Suppose action class calls some business object and fetches some data
> (say employee detail). How to transfer this data to jsp page which is
> reached through ActionForward?
Store in request scope.
Rick DeBay
On Wed, 25 Feb 2004 22:21 , Pradeep, PK <[EMAIL PROTECTED]> sent:
>Sending the same question again..
>
>
>I have this basic question.
>
>Suppose action class calls some business object and fetches some data
>(say employee detail). How to transfer this data
February 2004 16:51
To: Struts Users Mailing List
Subject: RE: data transfer from Action class to jsp page
Sending the same question again..
I have this basic question.
Suppose action class calls some business object and fetches some data (say
employee detail). How to transfer this data to jsp
Sending the same question again..
I have this basic question.
Suppose action class calls some business object and fetches some data
(say employee detail). How to transfer this data to jsp page which is
reached through ActionForward?
One way I know is storing the data in session object..is t
8 matches
Mail list logo