Hello Debashish,
(If I have got your question correctly....)
The mapping looks something like this in the config file...
<action path="/NewOrder"
type="test.OrderRequestAction"
input="/OrderRequest.jsp">
<forward name="success" path="/OrderList.jsp"/>
</action>
now your data will be send in the request object to the OrderList.jsp which
will display it, you dont require any other action again...
-Satyen
-----Original Message-----
From: Debasish Ghosh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 3:29 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: View data
Hi -
I am new to Struts. I also have this kind of
application where I need to show a lot of data. I
understand your solution. But for this, do I need to
make any entry in the config file for the jsp which
renders the view of the bean. Otherwise, how will it
fit in the overall framework of Struts ? Does this
mean that we will have a FormBean and an Action class
for this JSP as well ?
TIA.
- Debasish
--- John Schroeder <[EMAIL PROTECTED]> wrote:
> The application I am developing uses a lot of view
> only data. We are doing
> exactly what you mention. We have DAOs that contact
> the database and return
> CachedRowSets. These RowSet objects are stored in
> the proper context and
> custom tags on the JSP handle the display.
>
> Hope this helps...
>
> --John
>
>
>
> -----Original Message-----
> From: Jay Walters [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 1:03 PM
> To: '[EMAIL PROTECTED]'
> Subject: View data
>
>
> Just to bounce this off of people, the ActionForm is
> really just for
> handling Form based input data from the user.
>
> What do people do to handle result data which is
> view only. We are thinking
> we will just put the model beans into our request
> object in the
> action.perform method and pull them out to use in
> the jsp. Does this make
> sense? Any reason we should be using forms for
> output of read only data?
>
> Cheers
> Jay
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
------------------------------------------------------------------------------
The information in this Internet email is confidential and may be
legally privileged. It is intended solely for the addressee. Access
to this Internet email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this Internet email are subject to the terms and conditions
expressed in any applicable governing ING Barings' terms of business or
client engagement letter.
Visit us at www.ingbarings.com
------------------------------------------------------------------------------