Hi,

This is what i am trying
PL1079 is a bean (should it be serialized??)

in my jsp
request.setAttribute("PL1079",
request.getAttribute("PL1079"));

( i get PL1079 from the request, which is populated in
previous Action class and stored in request)

then in this jsp i submit it to other Actino class
where i try to get it from session
PL1079 pl1079 =
(PL1079)request.getAttribute("PL1079");

but i get pl1079 as null

ashish

--- Marco Tedone <[EMAIL PROTECTED]> wrote:
> Which kind of Object should you pass?
> 
> > -----Original Message-----
> > From: Ashish Kulkarni
> [mailto:[EMAIL PROTECTED]] 
> > Sent: Thursday, February 20, 2003 6:59 PM
> > To: [EMAIL PROTECTED]
> > Subject: passing object from request?? how does it
> work
> > 
> > 
> > Hi,
> > 
> > I have to pass a object from one action class to
> other
> > Action class via JSP, and not use session for it,
> > I have a Action class, which builds an Object and
> then
> > puts it in request and calls a jsp,
> > This jsp will get the object from request and
> display
> > the contents, 
> > I want to pass this object to other Action class,
> > after i submit the request in jsp.
> > As in this jsp, I submit to another Action class,
> so
> > this is a new request so loose every thing from
> the
> > request ,
> > Now the problem is I want to pass this object to
> my
> > other Action class, how do i do it??
> > 
> > One way is to put it in session, in my first
> Action
> > class, and retreive it in other action class,
> > 
> > But I want to avoid it, 
> > Need suggestions
> > 
> > 
> > =====
> > A$HI$H
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> 
> http://taxes.yahoo.com/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=====
A$HI$H

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to