Hi,

in JSP the HttpSession is an implicit object called 'session'. You can put
objects into the 'session' like this :

session.setAttribute("key",<object-variable-name>);

in a Struts Action you can get a refence to the session from the Request
object's getSession method call.
if you were to give that HttpSession you declare the variable name 'session'
then you could use what you see above.

But even better than that, do a Google search for your questions, you will
be surprised how much information you can
find on the web yourself.

Matt

-----Original Message-----
From: Julia Weaver [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 April 2004 11:18 PM
To: Struts Users Mailing List
Subject: Re: Row


Hi,
Could you please tell me how to put data in session?
Could you please give me an example?
Thanks,


--- Sapt <[EMAIL PROTECTED]> wrote:
> and if u don't want to use displaytag, u can put
> your data in session, and
> take only 10 data.
> ----- Original Message -----
> From: "Sapt" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> Sent: Thursday, April 15, 2004 11:11 AM
> Subject: Re: Row
>
>
> > u can try displaytag from displaytag.org..........
> > ----- Original Message -----
> > From: "Iwan Soenarto (IT)"
> <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, April 15, 2004 10:00 AM
> > Subject: Row
> >
> >
> > I have 100 records. How do I limit the number of
> row to display per page
> > to 10 ?
> > What technique should I use ?
> >
> > Tks
> > Iws
> >
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>





__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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


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

Reply via email to