RE: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 20, 2003 9:39 PM > > To: Struts Users Mailing List > > Subject: Re: passing object from request?? how > does it work > > > > > > Hi Jason, > > It does make sense, can u exp

RE: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
> Sent: Thursday, February 20, 2003 8:40 PM > > To: [EMAIL PROTECTED] > > Subject: Re: passing object from request?? how > does it work > > > > > > In the past when I have passed information using > the request > > object, I have to populate

RE: passing object from request?? how does it work

2003-02-20 Thread Marco Tedone
gt; From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 9:39 PM > To: Struts Users Mailing List > Subject: Re: passing object from request?? how does it work > > > Hi Jason, > It does make sense, can u explain a bit more > how do i set the re

RE: passing object from request?? how does it work

2003-02-20 Thread Marco Tedone
I think that works for parameters. > -Original Message- > From: Jason Kilgrow [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 8:40 PM > To: [EMAIL PROTECTED] > Subject: Re: passing object from request?? how does it work > > > In the past when I

RE: passing object from request?? how does it work

2003-02-20 Thread Marco Tedone
Have you verified that the bean is not null when it arrives in your JSP? > -Original Message- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 8:26 PM > To: Struts Users Mailing List > Subject: RE: passing object from request?? h

Re: passing object from request?? how does it work

2003-02-20 Thread Pani Ramasami
Ashish: When you first construct an object in ActionClass, you are loading the object into REQUEST scope. This I guess works fine for u. Then, after forwarding it to a JSP, you are getting the object back from REQUEST and manipulating it. NOW, in the JSP, load the values in to HIDDEN variable i

Re: passing object from request?? how does it work

2003-02-20 Thread Geeta Ramani
Ashish: Since you said earlier that "This jsp will get the object from request and display the contents", I understood from this that your jsp already had access to the object so that it could display it. Is this not true? Because if it is, I think what I said below ought to work. And if not, then

Re: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
Hi Jason, It does make sense, can u explain a bit more how do i set the request in my jsp, like how do i define my form, and populate it in jsp and then forward it in request to other Action form ashish --- Jason Kilgrow <[EMAIL PROTECTED]> wrote: > In the past when I have passed information usi

Re: passing object from request?? how does it work

2003-02-20 Thread Jason Kilgrow
In the past when I have passed information using the request object, I have to populate a form with the incoming information. Then, on the next submit, that information is repassed via the request object. Does that make sense? >>> [EMAIL PROTECTED] 02/20/2003 1:22:28 PM >>> Hi Geeta, I have alread

RE: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
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 cl

Re: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
Hi Geeta, I have already tried this but some how it is not working for me, so when should i do it, while loading my jsp page, or while submiting my jsp page, If i do it while loading my jsp page, it will be lost while submiting, that is what i think, here is my code , in jsp i have request.setA

RE: passing object from request?? how does it work

2003-02-20 Thread Marco Tedone
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 act

Re: passing object from request?? how does it work

2003-02-20 Thread Geeta Ramani
Ashish: Why won't "ordinary" Java work within your jsp? As in: <% request.setAttribute("thisObject", myObject); %> Then in your Action class retrieve it as usual with the request.getAttribute("thisObject"); Seems to me this should work...? Regards, Geeta Ashish Kulkarni wrote: > Hi, > > I ha